forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28156: cdc: Add highwater timestamp to crdb_internal.jobs r=mrtracy a=mrtracy Adds column high_water_timestamp to the crdb_internal.jobs table, and thus also to the output of SHOW JOBS. This column is stored internally as a HLC timestamp, but is output to the user as a DECIMAL in the same fashion as the `cluster_logical_timestamp()` built-in. This column will be nil for existing jobs, which use fraction_completed to represent their progress. Release note: Added an additional column to crdb_internal.jobs and SHOW JOBS to represent the "high water timestamp" of Changefeed jobs. This is used to represent the progress of changefeeds, as an alternative to the fraction_completed column which is used by existing jobs. Co-authored-by: Matt Tracy <matt@cockroachlabs.com>
- Loading branch information
Showing
7 changed files
with
181 additions
and
84 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
Oops, something went wrong.