Skip to content

fix(transaction): defer automatic checkpoints while writers are active - #1564

Open
Mrhs121 wants to merge 1 commit into
LadybugDB:mainfrom
Mrhs121:fix-1515
Open

Mrhs121 wants to merge 1 commit into
LadybugDB:mainfrom
Mrhs121:fix-1515

Conversation

@Mrhs121

@Mrhs121 Mrhs121 commented Nov 11, 2026

Copy link
Copy Markdown
Contributor

Fixes #1515.

Make automatic checkpoints try the write gate and skip immediately while another writer is active. Keep the acquired gate through checkpointing so a new writer cannot race in; explicit and forced checkpoints retain their existing wait behavior.

Validation: 63 transaction/recovery tests, 22 MVCC tests, and 34 COPY E2E cases in both disk and in-memory modes passed. clang-format 18.1.8 passes for all tracked C/C++ files.

This branch has not been deployed

No deployments
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.

Bug: commits past the checkpoint threshold wait 5 s while another writer is open

1 participant