diff options
| author | chrislu <chris.lu@gmail.com> | 2023-06-25 15:28:01 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2023-06-25 15:28:01 -0700 |
| commit | 5149b3d07b7e3089f914d055c90129139ea0756b (patch) | |
| tree | 26a81dac34d40a9a29da4a7fa90de324d3be3cce /other | |
| parent | 868f7875d7ccb211f52d189d8bd0669c85e24fe1 (diff) | |
| download | seaweedfs-5149b3d07b7e3089f914d055c90129139ea0756b.tar.xz seaweedfs-5149b3d07b7e3089f914d055c90129139ea0756b.zip | |
filer can proxy to peer filer holding the lock
Diffstat (limited to 'other')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index bd4916ddc..3d3e9e886 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -442,7 +442,8 @@ message CacheRemoteObjectToLocalClusterResponse { message LockRequest { string name = 1; int64 seconds_to_lock = 2; - string previous_lock_token = 3; + string renew_token = 3; + bool is_moved = 4; } message LockResponse { string renew_token = 1; @@ -451,7 +452,8 @@ message LockResponse { } message UnlockRequest { string name = 1; - string lock_token = 2; + string renew_token = 2; + bool is_moved = 3; } message UnlockResponse { string error = 1; |
