You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the added comment in code for explanation.
We weren't hitting this bug only because the overwriting flag, as of
today, can be true only if m.MustSync() is true, because every time raft
appends to a log, it also adds a MsgAppResp message. So we, whether
intentionally or not, relied on a subtle implementation detail in raft.
This commit makes the log storage more robust and independent of this
detail.
Epic: none
Release note: none
0 commit comments