diff options
| author | Chris Lu <chris.lu@gmail.com> | 2019-05-17 02:03:23 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2019-05-17 02:03:23 -0700 |
| commit | 82b0759493470417c0eb7135ed4a9b0e530fd9a3 (patch) | |
| tree | 05d68a5ad2ae0becccf781743a13c90ec5bfbaa0 /other/java/client/src/main/proto | |
| parent | 939de1e8326d6b7cd62011f84e21b6596aa640e6 (diff) | |
| download | seaweedfs-82b0759493470417c0eb7135ed4a9b0e530fd9a3.tar.xz seaweedfs-82b0759493470417c0eb7135ed4a9b0e530fd9a3.zip | |
filer: migrating filer store from persisting shorter structured file id instead of a string
Diffstat (limited to 'other/java/client/src/main/proto')
| -rw-r--r-- | other/java/client/src/main/proto/filer.proto | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index 350288b53..56814c39a 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -85,12 +85,20 @@ message EventNotification { } message FileChunk { - string file_id = 1; + string file_id = 1; // to be deprecated int64 offset = 2; uint64 size = 3; int64 mtime = 4; string e_tag = 5; - string source_file_id = 6; + string source_file_id = 6; // to be deprecated + FileId fid = 7; + FileId source_fid = 8; +} + +message FileId { + uint32 volume_id = 1; + uint64 file_key = 2; + fixed32 cookie = 3; } message FuseAttributes { |
