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

Add resharding status to API #4319

Merged
merged 6 commits into from
Jul 2, 2024
Merged

Add resharding status to API #4319

merged 6 commits into from
Jul 2, 2024

Conversation

JojiiOfficial
Copy link
Contributor

@JojiiOfficial JojiiOfficial commented May 24, 2024

Tracked in: #4213
Depends on: #4509

Adds resharding status information to the gRPC API and REST API

Tasks

Copy link
Member

@timvisee timvisee left a comment

Choose a reason for hiding this comment

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

Thanks!

Could you please take a look at the current CI failures.

@timvisee
Copy link
Member

@JojiiOfficial instead of merging dev into here, could you please rebase the relevant commit onto the latest dev instead?

The merges add about 20 unrelated commits onto this branch.

Copy link
Member

@timvisee timvisee left a comment

Choose a reason for hiding this comment

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

Thanks!

Sorry for being so nit-picky. 😄

I'm drafting this for a bit. It's ready, but since it contains API changes we might need to wait a bit with merging until we're sure we're doing the next minor release.

@timvisee timvisee marked this pull request as draft May 29, 2024 08:27
@timvisee timvisee mentioned this pull request May 29, 2024
76 tasks
@timvisee timvisee changed the title add resharding status to API Add resharding status to API May 31, 2024
@timvisee timvisee changed the base branch from dev to resharding-describe-stage June 20, 2024 09:10
@timvisee timvisee force-pushed the resharding_status_in_api branch 2 times, most recently from 31c77ac to c00c2c1 Compare June 20, 2024 09:49
@timvisee
Copy link
Member

I've extended this to render a comment on the current resharding status. It is now also adapted to all the changes we've made recently.

Here's a short demo:

Screencast.from.2024-06-20.11-35-25.mp4

Base automatically changed from resharding-describe-stage to dev June 20, 2024 12:15
We'll enable it again to always be included when releasing resharding
@timvisee timvisee marked this pull request as ready for review July 2, 2024 14:08
@timvisee timvisee merged commit 85f39f1 into dev Jul 2, 2024
17 checks passed
@timvisee timvisee deleted the resharding_status_in_api branch July 2, 2024 14:55
timvisee added a commit that referenced this pull request Jul 10, 2024
* Add resharding status to API

* Report human readable resharding status in cluster info

* Fix delete stage not showing shard IDs

* Update OpenAPI spec

* Temporarily hide resharding operations in cluster info if empty

We'll enable it again to always be included when releasing resharding

* Remove resharding details from cluster info in gRPC until release

---------

Co-authored-by: timvisee <tim@visee.me>
@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