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

Simplify resharding stages, add method to describe current stage for humans #4509

Merged
merged 9 commits into from
Jun 20, 2024

Conversation

timvisee
Copy link
Member

Tracked in: #4213

This simplifies the resharding stages we have. We now don't have start/end variants anymore, but a single variant for each stage.

It also adds a method to describe the current stage in human readable format. This will be connected to the cluster info later to show the current progress to users.

All Submissions:

  • Contributions should target the dev branch. Did you create your branch from dev?
  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you formatted your code locally using cargo +nightly fmt --all command prior to submission?
  3. Have you checked your code using cargo clippy --all --all-features command?

@timvisee timvisee requested a review from ffuugoo June 19, 2024 15:31
@timvisee timvisee mentioned this pull request Jun 19, 2024
76 tasks
@timvisee timvisee mentioned this pull request Jun 20, 2024
4 tasks
@timvisee timvisee merged commit da80160 into dev Jun 20, 2024
17 checks passed
@timvisee timvisee deleted the resharding-describe-stage branch June 20, 2024 12:15
generall pushed a commit that referenced this pull request Jun 21, 2024
…humans (#4509)

* Simplify possible stages and stage handling

* Add method to describe current resharding stage in human readable format

* Drop in-memory driver state before removing its file

* Reformat

* Delete state through SaveOnDisk wrapper

* Store resharding progress description in resharding progress tracker

* Periodically update driver state: progress and list of peers

* Mark hidden operations to be exposed for resharding release

* Fix clippy warning
@timvisee timvisee added this to the v1.11: resharding milestone Jul 18, 2024
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.

None yet

2 participants