aboutsummaryrefslogtreecommitdiff
path: root/other/java/client/src/main/proto
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-30 23:08:29 -0700
committerChris Lu <chris.lu@uber.com>2019-03-30 23:08:29 -0700
commit97406333a5ecc5b0d2cdaa74ff9901e3100e4bf2 (patch)
tree04cb10ddb0fb87663ba1783a7e82397aa2c9c06f /other/java/client/src/main/proto
parent920b4e56aa76fbf37780363d5b345c2882d311b5 (diff)
downloadseaweedfs-97406333a5ecc5b0d2cdaa74ff9901e3100e4bf2.tar.xz
seaweedfs-97406333a5ecc5b0d2cdaa74ff9901e3100e4bf2.zip
support atomic renaming for mysql/postgres filer store
Diffstat (limited to 'other/java/client/src/main/proto')
-rw-r--r--other/java/client/src/main/proto/filer.proto13
1 files changed, 13 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index 5cdcb6a97..07c73f1d4 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -24,6 +24,9 @@ service SeaweedFiler {
rpc DeleteEntry (DeleteEntryRequest) returns (DeleteEntryResponse) {
}
+ rpc AtomicRenameEntry (AtomicRenameEntryRequest) returns (AtomicRenameEntryResponse) {
+ }
+
rpc AssignVolume (AssignVolumeRequest) returns (AssignVolumeResponse) {
}
@@ -126,6 +129,16 @@ message DeleteEntryRequest {
message DeleteEntryResponse {
}
+message AtomicRenameEntryRequest {
+ string old_directory = 1;
+ string old_name = 2;
+ string new_directory = 3;
+ string new_name = 4;
+}
+
+message AtomicRenameEntryResponse {
+}
+
message AssignVolumeRequest {
int32 count = 1;
string collection = 2;