From 743ad690b69d01081975bdb435364d8509dbe01b Mon Sep 17 00:00:00 2001 From: chrislu Date: Fri, 1 Apr 2022 16:44:58 -0700 Subject: filer supports grpc ping --- other/java/client/src/main/proto/filer.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'other/java/client/src') diff --git a/other/java/client/src/main/proto/filer.proto b/other/java/client/src/main/proto/filer.proto index 389332114..35086e245 100644 --- a/other/java/client/src/main/proto/filer.proto +++ b/other/java/client/src/main/proto/filer.proto @@ -48,6 +48,9 @@ service SeaweedFiler { rpc Statistics (StatisticsRequest) returns (StatisticsResponse) { } + rpc Ping (PingRequest) returns (PingResponse) { + } + rpc GetFilerConfiguration (GetFilerConfigurationRequest) returns (GetFilerConfigurationResponse) { } @@ -311,6 +314,13 @@ message StatisticsResponse { uint64 file_count = 6; } +message PingRequest { + string target = 1; // default to ping itself + string target_type = 2; +} +message PingResponse { +} + message GetFilerConfigurationRequest { } message GetFilerConfigurationResponse { -- cgit v1.2.3