diff options
| author | Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.com> | 2024-09-09 23:42:56 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-09 11:42:56 -0700 |
| commit | 15965f7c5421f60cc8f822ec34e1dc0da23ea1df (patch) | |
| tree | ee5452e89d95e5263723ae460919c3a76e846cb3 /weed/pb/master.proto | |
| parent | 4af21b0dfced547b540a6c20b03151cbc4faa6b5 (diff) | |
| download | seaweedfs-15965f7c5421f60cc8f822ec34e1dc0da23ea1df.tar.xz seaweedfs-15965f7c5421f60cc8f822ec34e1dc0da23ea1df.zip | |
[shell] fix volume grow in shell (#5992)
* fix volume grow in shell
* revert add Async
* check available volume space
* create a VolumeGrowRequest and remove unnecessary fields
Diffstat (limited to 'weed/pb/master.proto')
| -rw-r--r-- | weed/pb/master.proto | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/weed/pb/master.proto b/weed/pb/master.proto index 05d26af0c..f2824b693 100644 --- a/weed/pb/master.proto +++ b/weed/pb/master.proto @@ -51,6 +51,8 @@ service Seaweed { } rpc RaftRemoveServer (RaftRemoveServerRequest) returns (RaftRemoveServerResponse) { } + rpc VolumeGrow (VolumeGrowRequest) returns (VolumeGrowResponse) { + } } ////////////////////////////////////////////////// @@ -210,6 +212,19 @@ message AssignRequest { uint32 writable_volume_count = 9; string disk_type = 10; } + +message VolumeGrowRequest { + uint32 writable_volume_count = 1; + string replication = 2; + string collection = 3; + string ttl = 4; + string data_center = 5; + string rack = 6; + string data_node = 7; + uint32 memory_map_max_size_mb = 8; + string disk_type = 9; +} + message AssignResponse { string fid = 1; uint64 count = 4; @@ -419,3 +434,6 @@ message RaftListClusterServersResponse { } repeated ClusterServers cluster_servers = 1; } + +message VolumeGrowResponse { +}
\ No newline at end of file |
