Repository navigation
Conversation
run-sqlancer.sh passes --servers with every node's client port, starts every node with the whole host list, and lets --kill-interval pick any node. The provider connects through all of them (topologychangeaware), and treats a call lost with its connection like any other node failure. The SUBQUERY oracle's string comparisons read a column, avoiding ENG-30549.
…600 (nested IN on an outer column)
…gnitude, as cancelling terms round relative to themselves
…t, avoiding ENG-30601
…g ENG-30601; README notes ENG-30602
This was referenced Nov 8, 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 15 of ENG-30396 (tracked in ENG-30581, epic ENG-30580 "SQL Housekeeping"): node failures include node 0, the node SQLancer used to connect to alone. Stacked on #14 (milestone 14), which is stacked on #13 to #1; review those first.
The nightly job runs it once VoltDB/internal#6355 is merged; VoltDB/pro#7101 corrects a comment.
Why
Since milestone 12 the 3-node nightly run kills and rejoins a node every 5 minutes, but never node 0: SQLancer connected to node 0 alone, so killing it ended the run. Node 0 was also the node every other node joined through. Clients of a real cluster connect to every node and lose any of them.
What it changes
--servers host:port,...: the JDBC URL lists every node's client port withtopologychangeaware=true. VoltDB's driver connects to each node, sends every call through a live connection, and reconnects to a node once it has rejoined. Without--servers, the provider connects to--hostand--portas before.run-sqlancer.sh: for more than one node, it passes--serverswith every client port (the manifest shows it); every node starts with the whole host list (voltdb start -H), so a restarted node 0 rejoins through another node; and--kill-intervalpicks any node at random, node 0 included.--node-failuresthe provider skips it.UpdateApplicationBase). Retried, like a concurrent schema change. Lab build ENG-30396: XDCR and the XDCR oracle (milestone 23) #23 hit it one second after node 0 was killed.--servers, the two errors), the option table, the bug tables.Bugs found
--avoid-known-bugsis trueORDER BY ... DESCis applied ascending when an equality on its PARTITION BY column picks an index on (partition column, order column): a forward scan, no sort. Found by WINDOW. Wrong result.= ANYsubquery inside another subquery, whose left operand is a column of the outermost query, holds for every row. Found by SUBQUERY. Wrong result.t.k < c AND t.k = u.jdrops the bound when the join equality becomes an index lookup (unique or not; with the other order it is kept). Found by SUBQUERY, as the EXISTS form of an IN subquery. Wrong result.modified_tuplestable, as if it had got a DML statement's fragment result ("Column count mismatch. Expecting 3, but 1 given"). Once in 175,000 checks; not reproducible on replay.' ' <> ALL (SELECT '' ...)folded and the subquery form did not.Testing
mvn verify(checkstyle, PMD, formatter) passes.Local trials against 16.1.0-SNAPSHOT at internal 17c453541b, built privately (the first trial ran on a shared checkout that another branch's build replaced mid-run; it is discarded), all eleven oracles,
--use-reducer:Lab:
matrix-systemtest-apprunner-sqlancerbuild ENG-30396: security on, and the PERMS oracle (milestone 28) #27 on jenkins-st, a replay of build ENG-30396: PLANS oracle: differential testing of query plans (milestone 26) #26 (with ENG-30396: subqueries, and the SUBQUERY and WINDOW oracles (milestone 14) #14's kit and agent parameters):Setup: the fork at 46fc061, the milestone 15
run-jenkins-sqlancer-test.sh(sha1 25f26460),CLUSTERS3:1:300 1:0 3:2:0:2, all eleven oracles. The job checks out pro at the commit its kit was built from, so the replay writes the new script over the kit's copy.Kit: releases/one-offs/16.1.0-SNAPSHOT-ENG-30396-sqlancer-nightly/2.
Agent: an
apprunner-lxd6agent (Ubuntu 22.04), JDK 25.Runs: 45 minutes each,
--use-reducer, 2 hours 18 minutes in all.sqlancer-3n-k1-kill300sqlancer-1n-k0sqlancer-3n-k2-s2The replays before it each stopped on something, fixed or worked around in the fork's PR:
No run found a wrong result that is not filed.