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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
A write that failed after it had already changed cached frames (an atomic
batch whose apply or WAL submit failed part-way, a tree batch, or a single
put, delete or rename whose WAL submit failed) left that partial change in
memory with no WAL record, and the next checkpoint persisted it: after a
reopen, one tree of a cross-tree atomic batch could hold its half of the
batch without the other. Such a failure now latches the database closed.
Every later write, DB::checkpoint, background checkpoint round and the
final checkpoint on drop fails with the new Error::FailedClosed, so
nothing of the failed write becomes durable; reopening recovers the last
durable state. The failed call itself still reports AtomicErrorKind::OutcomeUnknown.