Current ID allocation 除了从监控中和PD日志中获取,还能再别的地方获取到吗

每个PD日志都有啊,这已经保障丢不了。

参考:
方法1:
cat /u01/tidb/deploy/pd-2379/log/pd.log | grep “init cluster id”
[2024/01/17 11:49:47.039 +08:00] [INFO] [server.go:346] [“init cluster id”] [cluster-id=7212470665861270901]

方法2:
tiup ctl:v6.5.7 pd -u ip:port store --jq=“.stores[] | {id: .store.id, address: .store.address, state_name: .store.state_name, capacity: .status.capacity, available: .status.available, region_count: .status.region_count}”