-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
changefeedccl: Improve shutdown checkpoint logic
Rework shutdown checkpoint logic. This is mostly a code move PR that transfers the responsibility for emitting shutdown logic to the trailing metadata processor callback. This is done so that there is a single place where the decision to compute shutdown checkpint is made, and this computation is done before any of the contexts are canceled. Introduce a private setting `changefeed.shutdown_checkpoint.enabled` in order to disable shutdown checkpoint logic if some issues are discovered. Informs #116388 Release note: None
- Loading branch information
Yevgeniy Miretskiy
committed
Dec 18, 2023
1 parent
fec5213
commit c6d20be
Showing
1 changed file
with
85 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters