Expand description
Lifecycle conformance (opt-in): close โ reopen must preserve events,
versions, and the $all position watermark. In-memory adapters have
nothing to reopen and skip this module.
Functionsยง
- check_
reopen_ conflict_ state_ intact - Optimistic-concurrency state survives reopen: a stale expectation still conflicts against the persisted head.
- check_
reopen_ preserves_ events - Everything written before close reads back identically after reopen.
- check_
reopen_ preserves_ position_ watermark - The
$allposition watermark survives reopen: a post-reopen append lands strictly after every pre-close position (a reset counter would violate resume and corrupt projections). - check_
reopen_ subscription_ catches_ up - A subscription opened after reopen catches up over the pre-close backlog.