We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5859b8 commit e5eddc0Copy full SHA for e5eddc0
1 file changed
proto/server.proto
@@ -24,14 +24,14 @@ message ServerManager {
24
25
message Server {
26
optional string address = 1;
27
- optional ReplicaStatus replica_status = 2;
+ optional ReplicationStatus replication_status = 2;
28
29
- message ReplicaStatus {
30
- uint64 replica_id = 1;
31
- optional ReplicaRole replica_role = 2;
+ message ReplicationStatus {
+ uint64 id = 1;
+ optional Role role = 2;
32
optional uint64 term = 3;
33
34
- enum ReplicaRole {
+ enum Role {
35
Primary = 0;
36
Candidate = 1;
37
Secondary = 2;
0 commit comments