Skip to content

Fix: TDE feature is enabled, backend panic will cause the database to be in an abnormal state#1416

Merged
my-ship-it merged 1 commit intoapache:mainfrom
kongfanshen-0801:fix_tde_crash
Oct 30, 2025
Merged

Fix: TDE feature is enabled, backend panic will cause the database to be in an abnormal state#1416
my-ship-it merged 1 commit intoapache:mainfrom
kongfanshen-0801:fix_tde_crash

Conversation

@kongfanshen-0801
Copy link
Copy Markdown
Contributor

@kongfanshen-0801 kongfanshen-0801 commented Oct 27, 2025

…e the database to be in an abnormal state

When the backend process panics and the postmaster restarts the database, it is necessary to reinitialize the shared memory related to TDE and set the relevant global variables.

Fixes #1412

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


@kongfanshen-0801 kongfanshen-0801 changed the title Fix: fix bug When the TDE feature is enabled, backend panic will caus… Fix: TDE feature is enabled, backend panic will cause the database to be in an abnormal state Oct 27, 2025
…e the database to be in an abnormal state

When the backend process panics and the postmaster restarts the database,
it is necessary to reinitialize the shared memory related to TDE and
set the relevant global variables.
@my-ship-it my-ship-it merged commit eaf15c5 into apache:main Oct 30, 2025
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants