Skip to content

cherry-pick: Fix replicated duplicate retries entering the audit walk (#3366 → v5.3) - #3377

Merged
kriszyp merged 1 commit into
v5.3from
cherry-pick/v5.3/pr-3366
Oct 21, 2026
Merged

kriszyp merged 1 commit into
v5.3from
cherry-pick/v5.3/pr-3366

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

📝 Summary

Cherry-pick of #3366 onto v5.3. The workflow's pick conflicted, so this branch was rebuilt on the current v5.3 tip (after #3309, the v5.3 port of #3266) and adapted by hand. No conflict markers remain.

v5.3 lacks two interfaces main's fix uses. This port fills them in:

The blob-cleanup condition, hasDurableLog, and replicatedRetryDuplicate.test.js are identical to main.

✅ Verification

  • replicatedRetryDuplicate.test.js: 13 of 13 pass. Six fail with the v5.3 sources (fails-on-base, forced rebuild).
  • Full RocksDB resources suite on this branch: 4,124 passing, 0 failing.
  • Lint, prettier and check:design-docs pass.

Release target: v5.3 — #3366 is milestoned v5.3 (the reporter is on 5.3.2)
Complexity: standard

🤖 Generated with Claude Code (Claude Opus 5.5), posted via @kriszyp.

Cherry-pick of #3366, adapted to v5.3, which lacks two interfaces main's
fix relies on:
- committedBy: save() passes the DatabaseTransaction as the commit
  handler's 5th argument, as main does (#3148, v5.4).
- appendedTo: ported; save() records the native handle that staged the
  write's audit entry (#3187, v5.4).
- receivedLogKey/appendedLogKey: v5.3 has a single log key, so the
  duplicate identity check is txnLogKey === txnTime.

(cherry picked from commit 1555252)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@kriszyp
kriszyp force-pushed the cherry-pick/v5.3/pr-3366 branch from 0995efc to e6bdabc Compare October 21, 2026 14:35
@kriszyp kriszyp changed the title cherry-pick: Fix replicated duplicate retries entering the audit walk (conflicts → v5.3) cherry-pick: Fix replicated duplicate retries entering the audit walk (#3366 → v5.3) Oct 21, 2026
@kriszyp
kriszyp merged commit 8305567 into v5.3 Oct 21, 2026
48 of 49 checks passed
@kriszyp
kriszyp deleted the cherry-pick/v5.3/pr-3366 branch October 21, 2026 15:28
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