Skip to content
Commit Detail

Commit 597e274

Author
Rachel Chen <rachel@chens.email> 2026-10-23 19:26:59 -0700
Parents
b00f35a
Tree
bff2930
kv: advance lease tokens when the clock repeats

Keep renewal expiry tokens strictly increasing and reject unrepresentable timestamps across memory and SQLite. Treat exact expiry consistently and rely on the SQLite conditional transaction instead of a post-commit reread.

Cover repeated-clock renewal, stale tokens, and expiry bounds with one shared native regression. AOF inherits the memory implementation.

Files changed

7 files changed+2 added~5 modified