Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: TiKV是否存在损失一致性的边缘条件?

[TiDB Usage Environment] Production Environment
[TiDB Version] 5.4.2
I’m sorry, I am not very familiar with the specific implementation of TiKV.
I would like to ask, are there any edge conditions in TiKV that could lead to consistency loss?
For example, in the Raft protocol, if a log entry is written to the leader node and the leader crashes before this log entry is synchronized to the follower nodes, and then a new leader is elected, are there any specific edge conditions that could cause data inconsistency among the nodes after the new leader is elected?
Thank you!