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.
cdc: Add highwater timestamp to crdb_internal.jobs
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. The Admin API Jobs method has also been modified to handle the possibly-null output of fraction_completed. Release note (general change): 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. Release note: None
- Loading branch information
Matt Tracy
committed
Aug 12, 2018
1 parent
7f34715
commit 9f0c6da
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.