Skip to content

v0.8.8

Latest

Choose a tag to compare

@github-actions github-actions released this 31 Oct 08:21
· 27 commits to main since this release
a0726b4

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.