diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-10-17 04:22:42 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-10-17 04:22:42 -0700 |
| commit | cca62fdb30f207c2a0c703412b64507042a0aadf (patch) | |
| tree | 76a205156fe9a964bfe313fd244e419cbc571181 /other/java/client/src | |
| parent | 004e56c1a6b0f0efb022ec07e93b14e9d7baaef9 (diff) | |
| download | seaweedfs-cca62fdb30f207c2a0c703412b64507042a0aadf.tar.xz seaweedfs-cca62fdb30f207c2a0c703412b64507042a0aadf.zip | |
mount: streaming renaming folders
Diffstat (limited to 'other/java/client/src')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 14 |
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; |
