mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 07:19:23 +08:00
writing meta logs is working
This commit is contained in:
@@ -42,6 +42,9 @@ service SeaweedFiler {
|
||||
rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) {
|
||||
}
|
||||
|
||||
rpc ListenForEvents (ListenForEventsRequest) returns (stream FullEventNotification) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////
|
||||
@@ -230,3 +233,19 @@ message GetFilerConfigurationResponse {
|
||||
string dir_queues = 6;
|
||||
bool cipher = 7;
|
||||
}
|
||||
|
||||
message ListenForEventsRequest {
|
||||
string client_name = 1;
|
||||
string directory = 2;
|
||||
int64 since_sec = 3;
|
||||
}
|
||||
message FullEventNotification {
|
||||
string directory = 1;
|
||||
EventNotification event_notification = 2;
|
||||
}
|
||||
|
||||
message LogEntry {
|
||||
int64 ts_ns = 1;
|
||||
int32 partition_key_hash = 2;
|
||||
bytes data = 3;
|
||||
}
|
||||
|
Reference in New Issue
Block a user