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

[shell] fix volume grow in shell #5992

Merged
merged 4 commits into from
Sep 9, 2024

Conversation

kmlebedev
Copy link
Contributor

What problem are we solving?

force volume grow via shell

How are we solving the problem?

add VolumeGrow grpc func

How is the PR tested?

localy

make server
> volume.grow -collection test -dataCenter DefaultDataCenter -rack DefaultRack -dataNode 192.168.3.43:8080 -count 1

Checks

  • I have added unit tests if possible.
  • I will add related wiki document changes and link to this PR after merging.

@chrislusf
Copy link
Collaborator

why a new volume grow grpc API is needed?

@kmlebedev
Copy link
Contributor Author

kmlebedev commented Sep 9, 2024

why a new volume grow grpc API is needed?

Because Assign grpc function is created for something else and it is limited to checking shouldGrow, and I want to have grpc logic similar to http volumeGrowHandler

weed/pb/master.proto Outdated Show resolved Hide resolved
@chrislusf chrislusf merged commit 15965f7 into seaweedfs:master Sep 9, 2024
6 checks passed
This pull request was closed.
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.

2 participants