Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Similar to the problem described in RATIS-1677, if the RaftStorage in a peer is accidentally re-formatted, it could cause data loss.
Consider the following
- Server A and Server B were fast and had commit index 100 while server C had commit index 90.
- The RaftStorage of Server A was accidentally re-formatted and Server A was restarted. Its commit index became -1.
- Server C started a leader election and Server A voted for it. The commit index became 90 – it lost the commits from index 91 to index 100.
Attachments
Issue Links
- is related to
-
RATIS-1677 Do not auto format RaftStorage in RECOVER
- Resolved