diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-17 02:28:09 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-17 02:28:09 -0700 |
| commit | bda82f61bc847d6d02ebd9b242c07e01588b4e30 (patch) | |
| tree | 32276660368bbe23eba0409cc33ea3498bd801c0 /other/java/client | |
| parent | 722b14337eefc69f955a2189c5fc7dff4525eac0 (diff) | |
| download | seaweedfs-bda82f61bc847d6d02ebd9b242c07e01588b4e30.tar.xz seaweedfs-bda82f61bc847d6d02ebd9b242c07e01588b4e30.zip | |
filer: able to append to a file
Diffstat (limited to 'other/java/client')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 11 |
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; |
