update the example output of 'etcdctl endpoint status -w table'
parent
edce939f6e
commit
d0688e0158
|
@ -2772,7 +2772,7 @@
|
|||
"format": "uint64"
|
||||
},
|
||||
"storageVersion": {
|
||||
"description": "storageVersion is the version of the db file.",
|
||||
"description": "storageVersion is the version of the db file. It might be get updated with delay in relationship to the target cluster version.",
|
||||
"type": "string"
|
||||
},
|
||||
"version": {
|
||||
|
|
|
@ -4236,7 +4236,7 @@ type StatusResponse struct {
|
|||
DbSizeInUse int64 `protobuf:"varint,9,opt,name=dbSizeInUse,proto3" json:"dbSizeInUse,omitempty"`
|
||||
// isLearner indicates if the member is raft learner.
|
||||
IsLearner bool `protobuf:"varint,10,opt,name=isLearner,proto3" json:"isLearner,omitempty"`
|
||||
// storageVersion is the version of the db file.
|
||||
// storageVersion is the version of the db file. It might be get updated with delay in relationship to the target cluster version.
|
||||
StorageVersion string `protobuf:"bytes,11,opt,name=storageVersion,proto3" json:"storageVersion,omitempty"`
|
||||
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||||
XXX_unrecognized []byte `json:"-"`
|
||||
|
|
|
@ -1158,7 +1158,7 @@ message StatusResponse {
|
|||
int64 dbSizeInUse = 9 [(versionpb.etcd_version_field)="3.4"];
|
||||
// isLearner indicates if the member is raft learner.
|
||||
bool isLearner = 10 [(versionpb.etcd_version_field)="3.4"];
|
||||
// storageVersion is the version of the db file.
|
||||
// storageVersion is the version of the db file. It might be get updated with delay in relationship to the target cluster version.
|
||||
string storageVersion = 11 [(versionpb.etcd_version_field)="3.6"];
|
||||
}
|
||||
|
||||
|
|
|
@ -809,13 +809,13 @@ Get the status for all endpoints in the cluster associated with the default endp
|
|||
|
||||
```bash
|
||||
./etcdctl -w table endpoint --cluster status
|
||||
+------------------------+------------------+----------------+---------+-----------+-----------+------------+
|
||||
| ENDPOINT | ID | VERSION | DB SIZE | IS LEADER | RAFT TERM | RAFT INDEX |
|
||||
+------------------------+------------------+----------------+---------+-----------+-----------+------------+
|
||||
| http://127.0.0.1:2379 | 8211f1d0f64f3269 | 3.2.0-rc.1+git | 25 kB | false | 2 | 8 |
|
||||
| http://127.0.0.1:22379 | 91bc3c398fb3c146 | 3.2.0-rc.1+git | 25 kB | false | 2 | 8 |
|
||||
| http://127.0.0.1:32379 | fd422379fda50e48 | 3.2.0-rc.1+git | 25 kB | true | 2 | 8 |
|
||||
+------------------------+------------------+----------------+---------+-----------+-----------+------------+
|
||||
+------------------------+------------------+---------------+-----------------+---------+----------------+-----------+------------+-----------+------------+--------------------+--------+
|
||||
| ENDPOINT | ID | VERSION | STORAGE VERSION | DB SIZE | DB SIZE IN USE | IS LEADER | IS LEARNER | RAFT TERM | RAFT INDEX | RAFT APPLIED INDEX | ERRORS |
|
||||
+------------------------+------------------+---------------+-----------------+---------+----------------+-----------+------------+-----------+------------+--------------------+--------+
|
||||
| http://127.0.0.1:2379 | 8211f1d0f64f3269 | 3.6.0-alpha.0 | 3.6.0 | 25 kB | 25 kB | false | false | 2 | 8 | 8 | |
|
||||
| http://127.0.0.1:22379 | 91bc3c398fb3c146 | 3.6.0-alpha.0 | 3.6.0 | 25 kB | 25 kB | true | false | 2 | 8 | 8 | |
|
||||
| http://127.0.0.1:32379 | fd422379fda50e48 | 3.6.0-alpha.0 | 3.6.0 | 25 kB | 25 kB | false | false | 2 | 8 | 8 | |
|
||||
+------------------------+------------------+---------------+-----------------+---------+----------------+-----------+------------+-----------+------------+--------------------+--------+
|
||||
```
|
||||
|
||||
### ENDPOINT HASHKV
|
||||
|
|
Loading…
Reference in New Issue