Repository navigation
Conversation
…s a kill)
Milestone 44's coverage run found E3's gap fill never run (E3ClientGapSession,
E3ServerGapSession, GapFillResponse and the gap fill messages: 0 of 325 lines):
a rejoined replica fills the rows it missed from the others only while they are
still unacknowledged, and every export target acknowledges at once.
With --export, every other kill (the first included) is now made while the HTTP
target refuses rows: http-receiver.py answers 503, unrecorded, while
$cluster/http.hold exists, and the HTTP export client keeps the rows and retries.
The hold starts before the kill and ends 20 s after the node has rejoined, so
the rows written while it was down are unacknowledged when it comes back. The
end-of-run count still requires every inserted row to arrive; the run's summary
adds the gap fills logged ("Replica hosts filled gaps") and the kills held
(hold N lines in chaos.log).
In an 8-minute local run (3 nodes, k=2, a kill a minute): 8 gap fills over 3
held kills, 3,553 of 3,553 rows exported, none twice.
This was referenced Nov 10, 2026
Author
|
Superseded by #51, which combines every ENG-30396 PR of this repo into one. This PR's branch is kept, and its description still has this milestone's details and lab results. |
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.
Why
When a replica rejoins, it has missed the rows its streams took while it was down. If some export target has not yet acknowledged those rows, the replica fetches them from the other replicas: E3's gap fill. Our targets acknowledge at once, so milestone 44's coverage run found the gap fill never run:
E3ClientGapSession,E3ServerGapSession,GapFillResponseand the gap fill messages, 0 of 325 lines.What it changes
voltdb/http-receiver.pytakes an optional hold file. While it exists, every request gets 503 and nothing is recorded. The HTTP export client keeps the rows and sends them again later.run-sqlancer.sh --exportholds the HTTP target across every other kill, the first included. The hold starts just before the kill and ends 20 s after the node has rejoined;chaos.loghashold Nlines. A failed rejoin and the end of the chaos loop remove the hold too.Bugs found
None.
Coverage (
run-coverage.sh's 10-minute export run)E3ClientGapSessionE3ServerGapSessionGapFillResponseGapFillMessageGapFillRequestTesting
matrix-systemtest-apprunner-sqlancer(branch jobENG-30396-sqlancer-nightly, a replay) ran fork 37f2218 against 16.1.0-SNAPSHOT (master kit 400), 45 minutes per run.run-coverage.sh, which the lab job does not run.