Skip to content

ENG-30396: README: what to change when VoltDB adds SQL - #52

Merged
jwiebema1 merged 1 commit into
mainfrom
ENG-30396-adding-sql
Nov 25, 2026
Merged

jwiebema1 merged 1 commit into
mainfrom
ENG-30396-adding-sql

Conversation

@jwiebema1

Copy link
Copy Markdown

Adds a section to src/sqlancer/voltdb/README.md, "When VoltDB adds SQL", for the SQL commands about to be added. It covers:

  • Keeping new SQL away from 16.0.0. The nightly job's mirror (DIFF) and the 3:1:u in-service upgrade both run 16.0.0. On the mirror, a new statement silently stops DIFF for that database, and a new function in a DIFF query fails the run. New SQL needs a gate that, unlike avoidBugsOf1600(), holds even with --avoid-known-bugs false.
  • What to change for each kind of addition:
    • a new function: the enum, the generator, the PQS evaluator and its tests, and expected errors;
    • a new statement: the generator, Action, and how the mirror, XDCR, PERMS and node failures see it;
    • a new system procedure: an oracle, VoltDBOracleFactory, and the four oracle lists in sqlancer, internal and pro.
  • Checking it and turning it on: unit tests, a local run with and without the mirror and the upgrade, and coverage. After merging, pin SQLANCER_REF in internal's Jenkinsfile and in pro's cloudrunner SqlancerWorkload.py.
  • When it finds a bug: the ticket under ENG-30580, a reproduction in voltdb/repros/, and a workaround behind --avoid-known-bugs.

Documentation only.

A section on teaching the provider a new function, statement or system
procedure: keeping new SQL away from the 16.0.0 mirror and in-service
upgrade, the files each kind touches, where the oracle lists and the
pinned commit live, how to check it, and what to do when it finds a bug.
@jwiebema1
jwiebema1 merged commit 0a5e923 into main Nov 25, 2026
22 of 26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant