Spaces:
Build error
Build error
File size: 889 Bytes
84d2a97 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
syntax = "proto3";
package qdrant;
option csharp_namespace = "Qdrant.Client.Grpc";
service QdrantInternal {
/*
Get current commit and term on the target node.
*/
rpc GetConsensusCommit (GetConsensusCommitRequest) returns (GetConsensusCommitResponse) {}
/*
Wait until the target node reached the given commit ID.
*/
rpc WaitOnConsensusCommit (WaitOnConsensusCommitRequest) returns (WaitOnConsensusCommitResponse) {}
}
message GetConsensusCommitRequest {}
message GetConsensusCommitResponse {
int64 commit = 1; // Raft commit as u64
int64 term = 2; // Raft term as u64
}
message WaitOnConsensusCommitRequest {
int64 commit = 1; // Raft commit as u64
int64 term = 2; // Raft term as u64
int64 timeout = 3; // Timeout in seconds
}
message WaitOnConsensusCommitResponse {
bool ok = 1; // False if commit/term is diverged and never reached or if timed out.
}
|