mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
*: fix "raftIndex" comment as "committed index"
Signed-off-by: Gyuho Lee <gyuhox@gmail.com>
This commit is contained in:
parent
509cf414f7
commit
14558027bc
@ -787,7 +787,7 @@ Empty field.
|
|||||||
| version | version is the cluster protocol version used by the responding member. | string |
|
| version | version is the cluster protocol version used by the responding member. | string |
|
||||||
| dbSize | dbSize is the size of the backend database physically allocated, in bytes, of the responding member. | int64 |
|
| dbSize | dbSize is the size of the backend database physically allocated, in bytes, of the responding member. | int64 |
|
||||||
| leader | leader is the member ID which the responding member believes is the current leader. | uint64 |
|
| leader | leader is the member ID which the responding member believes is the current leader. | uint64 |
|
||||||
| raftIndex | raftIndex is the current raft index of the responding member. | uint64 |
|
| raftIndex | raftIndex is the current raft committed index of the responding member. | uint64 |
|
||||||
| raftTerm | raftTerm is the current raft term of the responding member. | uint64 |
|
| raftTerm | raftTerm is the current raft term of the responding member. | uint64 |
|
||||||
| raftAppliedIndex | raftAppliedIndex is the current raft applied index of the responding member. | uint64 |
|
| raftAppliedIndex | raftAppliedIndex is the current raft applied index of the responding member. | uint64 |
|
||||||
| errors | errors contains alarm/health information and status. | (slice of) string |
|
| errors | errors contains alarm/health information and status. | (slice of) string |
|
||||||
|
@ -2196,7 +2196,7 @@
|
|||||||
"format": "uint64"
|
"format": "uint64"
|
||||||
},
|
},
|
||||||
"raftIndex": {
|
"raftIndex": {
|
||||||
"description": "raftIndex is the current raft index of the responding member.",
|
"description": "raftIndex is the current raft committed index of the responding member.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "uint64"
|
"format": "uint64"
|
||||||
},
|
},
|
||||||
|
@ -2440,7 +2440,7 @@ type StatusResponse struct {
|
|||||||
DbSize int64 `protobuf:"varint,3,opt,name=dbSize,proto3" json:"dbSize,omitempty"`
|
DbSize int64 `protobuf:"varint,3,opt,name=dbSize,proto3" json:"dbSize,omitempty"`
|
||||||
// leader is the member ID which the responding member believes is the current leader.
|
// leader is the member ID which the responding member believes is the current leader.
|
||||||
Leader uint64 `protobuf:"varint,4,opt,name=leader,proto3" json:"leader,omitempty"`
|
Leader uint64 `protobuf:"varint,4,opt,name=leader,proto3" json:"leader,omitempty"`
|
||||||
// raftIndex is the current raft index of the responding member.
|
// raftIndex is the current raft committed index of the responding member.
|
||||||
RaftIndex uint64 `protobuf:"varint,5,opt,name=raftIndex,proto3" json:"raftIndex,omitempty"`
|
RaftIndex uint64 `protobuf:"varint,5,opt,name=raftIndex,proto3" json:"raftIndex,omitempty"`
|
||||||
// raftTerm is the current raft term of the responding member.
|
// raftTerm is the current raft term of the responding member.
|
||||||
RaftTerm uint64 `protobuf:"varint,6,opt,name=raftTerm,proto3" json:"raftTerm,omitempty"`
|
RaftTerm uint64 `protobuf:"varint,6,opt,name=raftTerm,proto3" json:"raftTerm,omitempty"`
|
||||||
|
@ -903,7 +903,7 @@ message StatusResponse {
|
|||||||
int64 dbSize = 3;
|
int64 dbSize = 3;
|
||||||
// leader is the member ID which the responding member believes is the current leader.
|
// leader is the member ID which the responding member believes is the current leader.
|
||||||
uint64 leader = 4;
|
uint64 leader = 4;
|
||||||
// raftIndex is the current raft index of the responding member.
|
// raftIndex is the current raft committed index of the responding member.
|
||||||
uint64 raftIndex = 5;
|
uint64 raftIndex = 5;
|
||||||
// raftTerm is the current raft term of the responding member.
|
// raftTerm is the current raft term of the responding member.
|
||||||
uint64 raftTerm = 6;
|
uint64 raftTerm = 6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user