Repository navigation
[release/7.x] Cherry pick: Retry endpoint lookup on CompactedVersionConflict (#8814) - #8837
Merged
Amaury Chamayou (achamayou) merged 1 commit intoNov 24, 2026
Merged
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> (cherry picked from commit 6b89738)
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the endpoint-lookup retry backport.
No open issues 🎉
What changed in this PR
Backports #8814 to release/7.x, placing KV-backed endpoint lookup inside the frontend’s existing bounded retry scope so compaction conflicts retry the request rather than escape.
Changes:
- Includes endpoint lookup in retry handling with a fresh transaction.
- Adds regression coverage for recovery, final-attempt success, retry exhaustion, and response-header cleanup.
- Documents the retry behavior and adds a release note.
Custom instructions used
Applied the guidance supplied in the review context for .github/copilot-instructions.md, .github/instructions/reviewing.instructions.md, and .github/instructions/changelog.instructions.md; local copies were unavailable.
| File | Description |
|---|---|
src/node/rpc/test/frontend_test.cpp |
Adds regression tests using real compaction-induced lookup conflicts. |
src/node/rpc/frontend.h |
Moves endpoint lookup inside the existing retry exception scope. |
doc/build_apps/kv/kv_how_to.rst |
Explains fresh-transaction retries for lookup and handler compaction conflicts. |
.changes/frontend-lookup-retry.fixed.md |
Records the fix and links to transaction semantics. |
Review effort: Balanced
Amaury Chamayou (achamayou)
approved these changes
Nov 24, 2026
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backports #8814 to
release/7.xso compaction conflicts during KV-backed endpoint lookup retry the request rather than escaping the frontend retry scope.Backport and validation
Single unchanged
git cherry-pick -xof squash-merged commit6b8973811ae9a14ae6e15cecde1c589705e13651; no release-specific fixups.The backport checker, frontend unit suite, repository checks, and warning-clean Sphinx build passed. LTS live and ledger compatibility passed on retry after an initial commit timeout accompanied by slow ledger filesystem syncs.