Skip to content

ADR-0021 — rehydrate leaves head rows in place

  • Status: Accepted
  • Date: 2026-11-13
  • Supersedes: none
  • Authors: project maintainers

Context

rehydrate turns every row of ours back into a row upstream reads, and removes the side rows that name patches. Head rows hold nothing upstream must read. Savers of ours may still be running while a rollback proceeds.

Decision

rehydrate will leave head rows in place. The compatibility promise says so.

Alternatives considered

  • Delete head rows — rejected: every running saver of ours would refuse its next put on threads in flight, expiry would be lost, and running savers would re-create the rows anyway.

Consequences

  • No fleet-wide refusals during a rollback, and expiry keeps working after it.
  • Dropping our tables stays a manual step once no saver of ours runs (ADR-0022).

References