aboutsummaryrefslogtreecommitdiff
path: root/other/java
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-17 02:28:09 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-17 02:28:09 -0700
commitbda82f61bc847d6d02ebd9b242c07e01588b4e30 (patch)
tree32276660368bbe23eba0409cc33ea3498bd801c0 /other/java
parent722b14337eefc69f955a2189c5fc7dff4525eac0 (diff)
downloadseaweedfs-bda82f61bc847d6d02ebd9b242c07e01588b4e30.tar.xz
seaweedfs-bda82f61bc847d6d02ebd9b242c07e01588b4e30.zip
filer: able to append to a file
Diffstat (limited to 'other/java')
-rw-r--r--other/java/client/src/main/proto/filer.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index fd2b8ebe3..bc159fd14 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -21,6 +21,9 @@ service SeaweedFiler {
rpc UpdateEntry (UpdateEntryRequest) returns (UpdateEntryResponse) {
}
+ rpc AppendToEntry (AppendToEntryRequest) returns (AppendToEntryResponse) {
+ }
+
rpc DeleteEntry (DeleteEntryRequest) returns (DeleteEntryResponse) {
}
@@ -143,6 +146,14 @@ message UpdateEntryRequest {
message UpdateEntryResponse {
}
+message AppendToEntryRequest {
+ string directory = 1;
+ string entry_name = 2;
+ repeated FileChunk chunks = 3;
+}
+message AppendToEntryResponse {
+}
+
message DeleteEntryRequest {
string directory = 1;
string name = 2;