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
145423: logstore: fix log durability bug r=tbg,arulajmani a=pav-kv
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: CRDB-46488
Co-authored-by: Pavel Kalinnikov <[email protected]>
0 commit comments