aboutsummaryrefslogtreecommitdiff
path: root/weed/pb/filer.proto
diff options
context:
space:
mode:
Diffstat (limited to 'weed/pb/filer.proto')
-rw-r--r--weed/pb/filer.proto19
1 files changed, 15 insertions, 4 deletions
diff --git a/weed/pb/filer.proto b/weed/pb/filer.proto
index e504e4f84..bc159fd14 100644
--- a/weed/pb/filer.proto
+++ b/weed/pb/filer.proto
@@ -21,6 +21,9 @@ service SeaweedFiler {
rpc UpdateEntry (UpdateEntryRequest) returns (UpdateEntryResponse) {
}
+ rpc AppendToEntry (AppendToEntryRequest) returns (AppendToEntryResponse) {
+ }
+
rpc DeleteEntry (DeleteEntryRequest) returns (DeleteEntryResponse) {
}
@@ -42,7 +45,7 @@ service SeaweedFiler {
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
}
- rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) {
+ rpc SubscribeMetadata (SubscribeMetadataRequest) returns (stream SubscribeMetadataResponse) {
}
}
@@ -123,6 +126,7 @@ message FuseAttributes {
string user_name = 11; // for hdfs
repeated string group_name = 12; // for hdfs
string symlink_target = 13;
+ bytes md5 = 14;
}
message CreateEntryRequest {
@@ -142,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;
@@ -230,16 +242,15 @@ message GetFilerConfigurationResponse {
string collection = 3;
uint32 max_mb = 4;
string dir_buckets = 5;
- string dir_queues = 6;
bool cipher = 7;
}
-message ListenForEventsRequest {
+message SubscribeMetadataRequest {
string client_name = 1;
string path_prefix = 2;
int64 since_ns = 3;
}
-message FullEventNotification {
+message SubscribeMetadataResponse {
string directory = 1;
EventNotification event_notification = 2;
}