forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
jobsprofiler: annotate backup DSP diagram with per-proc progress
This change teaches `SHOW JOB <jobID> WITH EXECUTION DETAILS` when run against a backup job to annotate the latest DSP diagram stored for the backup with per-node, per-processor progress information. This annotated diagram is then re-serialized and stored as the most up-to-date DSP diagram for that job. The backup job is the first of its kind to annotate a DSP diagram with per-node, per-proc progress information and so this change adds some logic to deserialize a flow diagram from a URL and annotate the diagram's processors with progress information. Informs: cockroachdb#100488 Release note (sql change): `SHOW JOB WITH EXECUTION DETAILS` for a backup job will regenerate the DistSQL plan diagram with per-node, per-processor progress information. This will help better understand the state of a running backup job.
- Loading branch information
1 parent
bd6f8f5
commit a5eec57
Showing
6 changed files
with
655 additions
and
72 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
Oops, something went wrong.