Repository navigation
Conversation
…th kills --export adds a JDBC target (sqlancer_jdbc) into a one-node sink cluster of the kit under test (port slot 19); db2's streams export to it, and after @Quiesce the sink's tables are counted with the file and HTTP targets' rows. ENG-30681 (JDBC export to VoltDB with createtable delivers no rows: UPSERT into tables without a primary key, and DOUBLE PRECISION for FLOAT): repros/ENG-30681.sh, and while avoiding known bugs the sink's tables are made beforehand with a primary key and createtable is false. STREAMS in runs that kill nodes: - creates only the objects the catalog lacks, since "object name already exists" is a node failure there (the loopback stream of db1 and later was never made, and their streams got no rows: HTTP got 1 row in lab runs); - goes on with a stream of the next generation (XS_DB2G1_ST, up to G8) when a stream falls out of step, rather than skipping the name for the run; - counts inserts that failed, were interrupted or were still running at exit, and the end count allows those as exported or not; - the file target's rows are counted by distinct I: after a failover the new leader exports rows again with another site id.
This was referenced Nov 13, 2026
Closed
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.
Milestone 40 of ENG-30396 (tracked in ENG-30581, epic ENG-30580 "SQL Housekeeping"). Stacked on #38; review that and the PRs below it first.
Why
Milestone 33's coverage run still found the JDBC export client never run. In lab runs that kill nodes, STREAMS checked little: its loopback stream was never created, and the HTTP target got 1 row.
What it changes
--exportadds a JDBC target (sqlancer_jdbc) into a one-node sink cluster of the kit under test, on port slot 19.db2's streams export to it.@Quiesce, the sink's tables are counted along with the rows of the file and HTTP targets.db1and later databases was never created, and their streams got no rows.XS_DB2G1_ST, up to G8), rather than skipping that name for the rest of the run.I, because after a failover the new leader exports rows again under another site id.Bugs found
--avoid-known-bugsis truecreatetabledelivers no rows. The table it creates has no primary key, but rows are sent by UPSERT; and a FLOAT column fails the CREATE TABLE (DOUBLE PRECISION). Export stalls, and graceful shutdown hangs. Reproduction:voltdb/repros/ENG-30681.sh. Lost data, Blocker.createtableis false.Coverage
Milestone 41's coverage run:
JDBCExportClient94 of 129 lines (from 0).Testing
mvn verifypasses.matrix-systemtest-apprunner-sqlancer(branch jobENG-30396-sqlancer-nightly, replays with these settings). They ran 16.1.0-SNAPSHOT (master kit 400) beside one node of 16.0.0, 45 minutes per run, with all thirty-one oracles.run-repros.shport wait and TASK's timing fix.