-
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.
116637: changefeedccl: Improve shutdown checkpoint logic r=miretskiy a=miretskiy 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 Co-authored-by: Yevgeniy Miretskiy <yevgeniy@cockroachlabs.com>
- Loading branch information
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