Skip to content

Conversation

@qinling0210
Copy link
Contributor

@qinling0210 qinling0210 commented Nov 7, 2025

What problem does this PR solve?

Simplify concurrent checkpoint handling.

Current logic to detect concurrent checkpoint :
Use ckp_begin_ts_ in NewTxnManager.
In BeginTxnShared(), if another checkpoint is already started, nullptr is returned.

=> flush data;
System is checkpointing@src/main/query_context_impl.cpp:562

Type of change

  • Refactoring

@qinling0210 qinling0210 self-assigned this Nov 7, 2025
@qinling0210 qinling0210 added the ci PR can be test label Nov 7, 2025
@qinling0210 qinling0210 marked this pull request as draft November 7, 2025 08:40
@qinling0210 qinling0210 marked this pull request as ready for review November 7, 2025 08:40
@qinling0210 qinling0210 force-pushed the simplify_concurrent_checkpoint branch from 8ba3fc5 to 7d7ae66 Compare November 7, 2025 09:27
@qinling0210 qinling0210 marked this pull request as draft November 7, 2025 12:56
@qinling0210 qinling0210 marked this pull request as ready for review November 7, 2025 12:56
@yuzhichang yuzhichang marked this pull request as draft December 8, 2025 03:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci PR can be test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant