-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
140379: changefeedccl: restore fine grained checkpoint from job proto r=aerfrei,asg0451 a=wenyihu6 As part of the fine-grained checkpointing project, changefeed now saves resolved spans for each span above the high-water mark. This patch finalizes the restoration process for fine-grained checkpoints. Upon resuming, changefeed reloads span level checkpoints from the job proto and restores progress during startup. Restoration is required in three key areas: 1. When aggregators are initialized, including the initialization of each aggregator frontier. 2. When `rangeFeedResumeFrontier` is initialized during every kvfeed.run. 3. When kvfeed determines which checkpointed spans to filter out from those requiring backfill. Note: This remains unused for now until issue #137692 is resolved. NB: `reconcileJobStateWithLocalState` is intentionally left unchanged. We decided to update it as part of issue #137692, as it depends on `cachedState.SetCheckpoint`. Resolves: #137693 Release Note: None 140619: schemachanger/scbuild: port over some partitioning helpers r=annrpom a=annrpom Some precursor work to remove RBR fallbacks for `ADD COLUMN`. Epic: CRDB-31282 Informs: #80545 Release note: None 140675: ci/roachtest: fix typo in roachtest nightly wrapper r=darrylwong a=srosenberg Previous PR [1] had a typo which caused RC runs to fail due to using an invalid CLI arg. [1] #137653 Epic: none Release note: None Release Justification: ci-only change Co-authored-by: Wenyi Hu <[email protected]> Co-authored-by: Annie Pompa <[email protected]> Co-authored-by: Stan Rosenberg <[email protected]>
- Loading branch information
Showing
17 changed files
with
408 additions
and
54 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
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.