refactor(proto): move PersistService to new file

Separate the PersistService into it's own file.
pull/24376/head
Dom Dwyer 2023-02-09 12:38:28 +01:00
parent 7f4fd1013c
commit 08cf71e0ac
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
3 changed files with 15 additions and 10 deletions

View File

@ -59,6 +59,7 @@ fn generate_grpc_types(root: &Path) -> Result<()> {
ingester_path.join("write_info.proto"),
ingester_path.join("write.proto"),
ingester_path.join("replication.proto"),
ingester_path.join("persist.proto"),
namespace_path.join("service.proto"),
object_store_path.join("service.proto"),
predicate_path.join("predicate.proto"),

View File

@ -0,0 +1,14 @@
syntax = "proto3";
package influxdata.iox.ingester.v1;
option go_package = "github.com/influxdata/iox/ingester/v1";
service PersistService {
rpc Persist(PersistRequest) returns (PersistResponse);
}
message PersistRequest {
// The namespace to persist
string namespace = 1;
}
message PersistResponse {}

View File

@ -14,13 +14,3 @@ message WriteRequest {
message WriteResponse {}
service PersistService {
rpc Persist(PersistRequest) returns (PersistResponse);
}
message PersistRequest {
// The namespace to persist
string namespace = 1;
}
message PersistResponse {}