Created
March 23, 2023 17:44
-
-
Save emchristiansen/05d82ff6179c8e073203457472cfb879 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@basic-pd-0 /]# /root/.tiup/bin/tiup ctl:v6.6.0 pd store | |
Starting component `ctl`: /root/.tiup/components/ctl/v6.6.0/ctl pd store | |
{ | |
"count": 3, | |
"stores": [ | |
{ | |
"store": { | |
"id": 4, | |
"address": "basic-tikv-1.basic-tikv-peer.tidb-cluster.svc:20160", | |
"labels": [ | |
{ | |
"key": "zone", | |
"value": "topology.kubernetes.io/zone" | |
}, | |
{ | |
"key": "topology.kubernetes.io/zone", | |
"value": "td2" | |
} | |
], | |
"version": "6.6.0", | |
"peer_address": "basic-tikv-1.basic-tikv-peer.tidb-cluster.svc:20160", | |
"status_address": "basic-tikv-1.basic-tikv-peer.tidb-cluster.svc:20180", | |
"git_hash": "58d231bccb4fb188bb697905ee4faf086c4ac931", | |
"start_timestamp": 1679592986, | |
"deploy_path": "/", | |
"last_heartbeat": 1679593456896421303, | |
"state_name": "Up" | |
}, | |
"status": { | |
"capacity": "96.73GiB", | |
"available": "51.41GiB", | |
"used_size": "292.5MiB", | |
"leader_count": 16, | |
"leader_weight": 1, | |
"leader_score": 16, | |
"leader_size": 16, | |
"region_count": 56, | |
"region_weight": 1, | |
"region_score": 617.7285926370704, | |
"region_size": 56, | |
"witness_count": 0, | |
"slow_score": 1, | |
"slow_trend": { | |
"cause_value": 250015.66666666666, | |
"cause_rate": 0, | |
"result_value": 1.5, | |
"result_rate": 0 | |
}, | |
"start_ts": "2023-03-23T17:36:26Z", | |
"last_heartbeat_ts": "2023-03-23T17:44:16.896421303Z", | |
"uptime": "7m50.896421303s" | |
} | |
}, | |
{ | |
"store": { | |
"id": 5, | |
"address": "basic-tikv-2.basic-tikv-peer.tidb-cluster.svc:20160", | |
"labels": [ | |
{ | |
"key": "zone", | |
"value": "topology.kubernetes.io/zone" | |
}, | |
{ | |
"key": "topology.kubernetes.io/zone", | |
"value": "td3" | |
} | |
], | |
"version": "6.6.0", | |
"peer_address": "basic-tikv-2.basic-tikv-peer.tidb-cluster.svc:20160", | |
"status_address": "basic-tikv-2.basic-tikv-peer.tidb-cluster.svc:20180", | |
"git_hash": "58d231bccb4fb188bb697905ee4faf086c4ac931", | |
"start_timestamp": 1679592986, | |
"deploy_path": "/", | |
"last_heartbeat": 1679593456966426911, | |
"state_name": "Up" | |
}, | |
"status": { | |
"capacity": "96.73GiB", | |
"available": "56.03GiB", | |
"used_size": "292.5MiB", | |
"leader_count": 25, | |
"leader_weight": 1, | |
"leader_score": 25, | |
"leader_size": 25, | |
"region_count": 56, | |
"region_weight": 1, | |
"region_score": 475.1542867586333, | |
"region_size": 56, | |
"witness_count": 0, | |
"slow_score": 1, | |
"slow_trend": { | |
"cause_value": 250016.125, | |
"cause_rate": 0, | |
"result_value": 2, | |
"result_rate": 0 | |
}, | |
"start_ts": "2023-03-23T17:36:26Z", | |
"last_heartbeat_ts": "2023-03-23T17:44:16.966426911Z", | |
"uptime": "7m50.966426911s" | |
} | |
}, | |
{ | |
"store": { | |
"id": 1, | |
"address": "basic-tikv-0.basic-tikv-peer.tidb-cluster.svc:20160", | |
"labels": [ | |
{ | |
"key": "zone", | |
"value": "topology.kubernetes.io/zone" | |
}, | |
{ | |
"key": "topology.kubernetes.io/zone", | |
"value": "devenv" | |
} | |
], | |
"version": "6.6.0", | |
"peer_address": "basic-tikv-0.basic-tikv-peer.tidb-cluster.svc:20160", | |
"status_address": "basic-tikv-0.basic-tikv-peer.tidb-cluster.svc:20180", | |
"git_hash": "58d231bccb4fb188bb697905ee4faf086c4ac931", | |
"start_timestamp": 1679592985, | |
"deploy_path": "/", | |
"last_heartbeat": 1679593455673207348, | |
"state_name": "Up" | |
}, | |
"status": { | |
"capacity": "372GiB", | |
"available": "262.8GiB", | |
"used_size": "293.5MiB", | |
"leader_count": 15, | |
"leader_weight": 1, | |
"leader_score": 15, | |
"leader_size": 15, | |
"region_count": 56, | |
"region_weight": 1, | |
"region_score": 108.99534029114565, | |
"region_size": 56, | |
"witness_count": 0, | |
"slow_score": 1, | |
"slow_trend": { | |
"cause_value": 250035.95833333334, | |
"cause_rate": 0, | |
"result_value": 6.5, | |
"result_rate": 0 | |
}, | |
"start_ts": "2023-03-23T17:36:25Z", | |
"last_heartbeat_ts": "2023-03-23T17:44:15.673207348Z", | |
"uptime": "7m50.673207348s" | |
} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment