[Test Environment for TiDB]
[TiDB Version] v6.5.4
[Encountered Issue: Problem Description and Impact]
A certain PD cannot start. In the error log, the following message is found: panic: tocommit(xxxx) is out of range [lastIndex(xxx)]. Was the raft log corrupted, truncated, or lost?
It looks like the issue is caused by an interruption or loss of the etcd replication raft log at the PD layer, which could be due to hardware reasons or some incomplete bugs in PD. Could you please open an issue on GitHub?