Repository navigation
Conversation
…T, signed, CSV batches) Milestone 45's coverage run found most of the HTTP export client never run (HttpExportDecoder 57 of 245 lines): one row per POST, unsigned. run-sqlancer.sh --http-mode form|signed|batch (from the seed unless given, as is the method) configures the target: form pairs by POST, PUT or GET; signed with HmacSHA1 or HmacSHA256, which http-receiver.py checks (a bad signature is a BADSIG line and fails the run); or CSV batches every 10 s to /%t/%p/%g by POST or PUT, which the receiver writes row by row, and which the run awaits after @Quiesce. The manifest and summary name the mode and method. run-coverage.sh's export run is signed, and a new batch run uses batch. BATCH_HTTP_BUG (to be filed): in batch mode the client calls getQuery().contains() on the endpoint, and with no query string it fails every batch after sending it and sends it again for good. While avoiding known bugs the batch endpoint has a query string.
…eproduction scripts
This was referenced Nov 14, 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
Milestone 45's coverage run found most of the HTTP export client never run:
HttpExportDecoder57 of 245 lines,HttpExportClient115 of 260. The target only ever sent one row per POST, unsigned.What it changes
run-sqlancer.sh --http-mode form|signed|batchsets how the HTTP target sends rows. Unless--http-modeis given, the mode comes from the seed, and the method always does.form: one row per request as form pairs, by POST, PUT or GET.signed: the same, signed withHmacSHA1orHmacSHA256.batch:batch.modewithtypecsv andperiod10s, by POST or PUT, to/%t/%p/%g.voltdb/http-receiver.pyhandles every mode.BADSIGline, which fails the run.@Quiesceuntil the receiver's rows stop changing for 25 s.run-coverage.sh: the export run usessigned, and a newbatchrun (3 nodes, k=1, no kills) usesbatch.Bugs found
getURI().getQuery().contains("op=APPEND")after sending each batch. With an endpoint that has no query string, that is a NullPointerException. The client sends the batch again on every retry, and the stream never exports another row. In a reproduction (1 node, PUT, period 5s), the first row arrived 17 times and the second never.repros/ENG-30694.shreproduces it. While avoiding known bugs, the batch endpoint has a query string (?sqlancer=1).Coverage (
run-coverage.sh, 10-minute export and batch runs)HttpExportClientHttpExportDecoderTesting
~MaterializedViewHandlerduring a truncation snapshot that spanned DDL. It is not reduced yet.matrix-systemtest-apprunner-sqlancer(branch jobENG-30396-sqlancer-nightly, a replay) ran fork 8c08f76 against 16.1.0-SNAPSHOT (master kit 400). It made two export runs (3 nodes, k=2, a kill every 300 s, 45 minutes, all thirty-two oracles), with seed 202611140002 so that the first is signed and the second batch. Both passed:After the lab run
d9114c8 names the tickets filed since: ENG-30694 here, ENG-30695 (milestone 46) and ENG-30696 (milestone 43, in
VoltDBErrors). It addsrepros/ENG-30694.shandrepros/ENG-30695.sh, both reported BROKEN byrun-repros.sh, and a README table of the three. No behaviour changes.