Skip to content

chore(gateway): bump wavekv to 2.2 - #1598

Merged
kvinwang merged 1 commit into
nextfrom
chore/wavekv-2.2
Nov 18, 2026
Merged

kvinwang merged 1 commit into
nextfrom
chore/wavekv-2.2

Conversation

@kvinwang

Copy link
Copy Markdown
Collaborator

Bumps wavekv to 2.2.0, which fixes two replication issues found while modeling wavekv in Lean:

No format change; mixed 2.1/2.2 clusters are fine. A tombstone now takes two collect_tombstone_garbage calls, so the coverage test calls it twice. The GC task is unchanged; since every node collects on the same replicated-write boundary, they all shift by one boundary and stay aligned.

wavekv 2.2 stamps local writes above the held entry, so a write made
after merging a peer entry stamped ahead of local time no longer wins
locally while losing on every peer, and keeps a collectable tombstone
for one more GC call, so an envelope still in flight cannot resurrect a
deleted key.

The second change means a tombstone takes two collect calls; update the
coverage test accordingly. The GC task needs no change: every node
shifts by the same boundary.

Signed-off-by: Kevin Wang <wy721@qq.com>
@kvinwang
kvinwang merged commit 5fb72c6 into next Nov 18, 2026
23 checks passed
@kvinwang
kvinwang deleted the chore/wavekv-2.2 branch November 18, 2026 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant