-
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.
changefeedccl: migrate deprecated pts records to new scheme
This change adds logic in changefeeds to "migrate" pts records which use the old style (ie. protect spans instead of targets / desc ids). With this change, when a changefeed manages its pts record (once every 10 minutes by default), it will check to see if the record is deprecated. If so, it will create a new record with the non-deprecated style and remove the old one. This change helps accomplish #82888 by effectively removing changefeed jobs relying on the old PTS subsystem, allowing the old subsystem to be removed. Informs: #82888 Release note: None Epic: CRDB-34798
- Loading branch information
1 parent
3ccf718
commit 5dd7755
Showing
4 changed files
with
175 additions
and
5 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