Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
TiKV panics on leader election if
There is a chance that applied_index = 7 and truncated_index = 9, this leads to panic on leader election.
The fix mentioned in #4560 also resolves this bug.