Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

streamingest: add a metric for replication cutover progress #96537

Merged

Conversation

lidorcarmel
Copy link
Contributor

We already have the progress info in the job as the percentage of ranges that were reverted. This commit adds the number of ranges that are left to be reverted as a metric.

Epic: CRDB-18752

Fixes: #96536

Release note: None

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@lidorcarmel lidorcarmel marked this pull request as ready for review February 4, 2023 03:42
@lidorcarmel lidorcarmel requested a review from a team as a code owner February 4, 2023 03:42
@lidorcarmel lidorcarmel force-pushed the lidor_cutover_progress_metric branch from 3d3cd2c to 1e6af1e Compare February 6, 2023 17:58
@lidorcarmel lidorcarmel requested a review from a team February 6, 2023 17:58
Copy link
Collaborator

@stevendanna stevendanna left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels reasonable to me.

Copy link
Collaborator

@dhartunian dhartunian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @adityamaru)

@adityamaru
Copy link
Contributor

@lidorcarmel if you want to you can add this metric to the DBConsole page added in #96206. Can also be a followup!

@lidorcarmel
Copy link
Contributor Author

@lidorcarmel if you want to you can add this metric to the DBConsole page added in #96206. Can also be a followup!

followup sg, thanks!

We already have the progress info in the job as the percentage of ranges
that were reverted. This commit adds the number of ranges that are left
to be reverted as a metric.

Epic: CRDB-18752

Fixes: cockroachdb#96536

Release note: None
@lidorcarmel lidorcarmel force-pushed the lidor_cutover_progress_metric branch from 1e6af1e to 45faeeb Compare February 7, 2023 17:58
@lidorcarmel
Copy link
Contributor Author

@lidorcarmel if you want to you can add this metric to the DBConsole page added in #96206. Can also be a followup!

followup sg, thanks!

TFTR all!
bors r+

@craig
Copy link
Contributor

craig bot commented Feb 7, 2023

Build succeeded:

@craig craig bot merged commit 8022f2a into cockroachdb:master Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

c2c: add a metric for cutover progress
5 participants