aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-10-17 04:22:42 -0700
committerChris Lu <chris.lu@gmail.com>2021-10-17 04:22:42 -0700
commitcca62fdb30f207c2a0c703412b64507042a0aadf (patch)
tree76a205156fe9a964bfe313fd244e419cbc571181 /other/java
parent004e56c1a6b0f0efb022ec07e93b14e9d7baaef9 (diff)
downloadseaweedfs-cca62fdb30f207c2a0c703412b64507042a0aadf.tar.xz
seaweedfs-cca62fdb30f207c2a0c703412b64507042a0aadf.zip
mount: streaming renaming folders
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/proto/filer.proto14
1 files changed, 14 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index bb4b6cc15..24b651fe9 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -30,6 +30,8 @@ service SeaweedFiler {
rpc AtomicRenameEntry (AtomicRenameEntryRequest) returns (AtomicRenameEntryResponse) {
}
+ rpc StreamRenameEntry (StreamRenameEntryRequest) returns (stream StreamRenameEntryResponse) {
+ }
rpc AssignVolume (AssignVolumeRequest) returns (AssignVolumeResponse) {
}
@@ -225,6 +227,18 @@ message AtomicRenameEntryRequest {
message AtomicRenameEntryResponse {
}
+message StreamRenameEntryRequest {
+ string old_directory = 1;
+ string old_name = 2;
+ string new_directory = 3;
+ string new_name = 4;
+ repeated int32 signatures = 5;
+}
+message StreamRenameEntryResponse {
+ string directory = 1;
+ EventNotification event_notification = 2;
+ int64 ts_ns = 3;
+}
message AssignVolumeRequest {
int32 count = 1;
string collection = 2;