aboutsummaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-06-28 14:57:20 -0700
committerchrislu <chris.lu@gmail.com>2024-06-28 14:57:20 -0700
commitc030cb3ce98701e266fa54031b70be805af6835b (patch)
tree4dbe3735593edf183c2bf5dbba4561f3dfb878ac /other
parent00f87e5bb5b95f1568bcba4876d33e11e8eef1b1 (diff)
downloadseaweedfs-c030cb3ce98701e266fa54031b70be805af6835b.tar.xz
seaweedfs-c030cb3ce98701e266fa54031b70be805af6835b.zip
bootstrap filer from one peer
Diffstat (limited to 'other')
-rw-r--r--other/java/client/src/main/proto/filer.proto12
1 files changed, 12 insertions, 0 deletions
diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto
index b0829163c..fa37703b2 100644
--- a/other/java/client/src/main/proto/filer.proto
+++ b/other/java/client/src/main/proto/filer.proto
@@ -54,6 +54,9 @@ service SeaweedFiler {
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
}
+ rpc TraverseBfsMetadata (TraverseBfsMetadataRequest) returns (stream TraverseBfsMetadataResponse) {
+ }
+
rpc SubscribeMetadata (SubscribeMetadataRequest) returns (stream SubscribeMetadataResponse) {
}
@@ -360,6 +363,15 @@ message SubscribeMetadataResponse {
int64 ts_ns = 3;
}
+message TraverseBfsMetadataRequest {
+ string directory = 1;
+ repeated string excluded_prefixes = 2;
+}
+message TraverseBfsMetadataResponse {
+ string directory = 1;
+ Entry entry = 2;
+}
+
message LogEntry {
int64 ts_ns = 1;
int32 partition_key_hash = 2;