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

c2c: replication job should be updated with cutover progress #93448

Closed
adityamaru opened this issue Dec 12, 2022 · 2 comments · Fixed by #95323
Closed

c2c: replication job should be updated with cutover progress #93448

adityamaru opened this issue Dec 12, 2022 · 2 comments · Fixed by #95323
Assignees
Labels
A-disaster-recovery C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-disaster-recovery

Comments

@adityamaru
Copy link
Contributor

adityamaru commented Dec 12, 2022

Once the replication job has been instructed to cutover, the replication job progress should reflect how far along we are done reverting the data before completing the cutover. The fraction progressed should be based on the number of revert range responses we have received. This will help the operator get a sense of how much time is left until the replicated tenant is marked ready for use.

Epic: CRDB-18752

Jira issue: CRDB-22338

@adityamaru adityamaru added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) A-disaster-recovery labels Dec 12, 2022
@blathers-crl
Copy link

blathers-crl bot commented Dec 12, 2022

cc @cockroachdb/disaster-recovery

@blathers-crl
Copy link

blathers-crl bot commented Dec 12, 2022

cc @cockroachdb/disaster-recovery

@adityamaru adityamaru self-assigned this Dec 27, 2022
craig bot pushed a commit that referenced this issue Jan 18, 2023
95323: streamingccl: display fraction progressed when cutting over r=stevendanna a=adityamaru

This change teaches the logic that issues RevertRange requests on replication cutover to update the fraction progressed of the replication job, as and when revisions in different ranges are reverted to the cutover time. This should provide the user a visual cue on the Jobs page in the console about how long is left until the destination tenant will be marked active.

Fixes: #93448

Release note: None

Co-authored-by: adityamaru <[email protected]>
@craig craig bot closed this as completed in 706bf0e Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-disaster-recovery C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-disaster-recovery
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant