aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/volume_server.proto
diff options
context:
space:
mode:
authorKonstantin Lebedev <9497591+kmlebedev@users.noreply.github.com>2023-06-12 22:42:44 +0500
committerGitHub <noreply@github.com>2023-06-12 10:42:44 -0700
commit25535e9c36ad55b4e75f88ed01ca0c5e3947663e (patch)
tree8e6e71e734468822cabc2bbf979d7d6cff67f68f /weed/pb/volume_server.proto
parent2e42cdeb221572a20b0d6576dc8e2f6f3369b546 (diff)
downloadseaweedfs-25535e9c36ad55b4e75f88ed01ca0c5e3947663e.tar.xz
seaweedfs-25535e9c36ad55b4e75f88ed01ca0c5e3947663e.zip
Delete volume is empty (#4561)
* use onlyEmpty for deleteVolume https://github.com/seaweedfs/seaweedfs/issues/4559 * fix IsEmpty * fix test --------- Co-authored-by: Konstantin Lebedev <9497591+kmlebedev@users.noreply.github.co>
Diffstat (limited to 'weed/pb/volume_server.proto')
-rw-r--r--weed/pb/volume_server.proto1
1 files changed, 1 insertions, 0 deletions
diff --git a/weed/pb/volume_server.proto b/weed/pb/volume_server.proto
index 8c5ac7bf8..4e2e4a062 100644
--- a/weed/pb/volume_server.proto
+++ b/weed/pb/volume_server.proto
@@ -219,6 +219,7 @@ message VolumeUnmountResponse {
message VolumeDeleteRequest {
uint32 volume_id = 1;
+ bool only_empty = 2;
}
message VolumeDeleteResponse {
}