Skip to content

Commit e5eddc0

Browse files
committed
Rename replica-related fields
1 parent a5859b8 commit e5eddc0

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

proto/server.proto

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ message ServerManager {
2424

2525
message Server {
2626
optional string address = 1;
27-
optional ReplicaStatus replica_status = 2;
27+
optional ReplicationStatus replication_status = 2;
2828

29-
message ReplicaStatus {
30-
uint64 replica_id = 1;
31-
optional ReplicaRole replica_role = 2;
29+
message ReplicationStatus {
30+
uint64 id = 1;
31+
optional Role role = 2;
3232
optional uint64 term = 3;
3333

34-
enum ReplicaRole {
34+
enum Role {
3535
Primary = 0;
3636
Candidate = 1;
3737
Secondary = 2;

0 commit comments

Comments
 (0)