Open YKG opened 4 years ago
tiup playground
http://127.0.0.1:2379/dashboard/api/host/all
partitions
instance.Server_Type
partition.ServerType
partitions[0].partition.ServerType == "tidb"
tikv
partitions[1].partition.ServerType == "pd"
partitions[2].partition.ServerType == "tikv"
tiflash
tidb-server -V
select tidb_version();
ubuntu@hk:~$ /home/ubuntu/.tiup/components/tidb/v4.0.0-rc.2/tidb-server -V Release Version: v4.0.0-rc.2 Edition: Community Git Commit Hash: dfbb1ff8b0a8d55893bcea652748c40b9a9b91ad Git Branch: heads/refs/tags/v4.0.0-rc.2 UTC Build Time: 2020-05-15 11:54:25 GoVersion: go1.13 Race Enabled: false TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306 Check Table Before Drop: false
/bug P1
1. What did you do?
tiup playground
http://127.0.0.1:2379/dashboard/api/host/all
2. What did you expect to see?
partitions
array, theinstance.Server_Type
should be identical topartition.ServerType
3. What did you see instead?
partitions[0].partition.ServerType == "tidb"
, but gottikv
partitions[1].partition.ServerType == "pd"
, but gottikv
partitions[2].partition.ServerType == "tikv"
, but gottiflash
4. What version of TiDB are you using? (
tidb-server -V
or runselect tidb_version();
on TiDB)