Skip to content

ENG-30396: the CONFIG oracle, configuration changed at run time (milestone 36) - #35

Closed
jwiebema1 wants to merge 2 commits into
ENG-30396-sqlancer-m35from
ENG-30396-sqlancer-m36
Closed

jwiebema1 wants to merge 2 commits into
ENG-30396-sqlancer-m35from
ENG-30396-sqlancer-m36

Conversation

@jwiebema1

Copy link
Copy Markdown

Milestone 36 of ENG-30396 (tracked in ENG-30581, epic ENG-30580 "SQL Housekeeping"). Stacked on #34; review that and the PRs below it first.

Why

Milestone 30's coverage run found the procedures that change configuration while the database runs barely exercised:

  • @SetYamlConfiguration: 10 of 404 lines
  • @GetYamlConfiguration: 2 of 155
  • YamlUtils: 0 of 169
  • @UpdateDeployment: 3 of 256

What it changes

  • The CONFIG oracle. Each check changes one runtime system setting, by an assignment or by a YAML document, then reads the settings back.
    • The changed setting must have its new value, and every other setting its old one.
    • A change that VoltDB must refuse must change nothing.
  • Scope. CONFIG only changes settings that cannot affect the other oracles' results, and runs one check at a time.
  • Runners. run-coverage.sh runs CONFIG, and run-sqlancer.sh's summary reports its counts.

Bugs found

None in this milestone. Milestone 41 adds the bugs CONFIG found in the lab: ENG-30682 (resize) and ENG-30683 (upgrade).

Coverage (master bf8602e3, run-coverage.sh's kill run, 15 minutes, every oracle)

Class Milestone 30 This milestone
@SetYamlConfiguration 10 of 404 176 of 404
@GetYamlConfiguration 2 of 155 73 of 155
YamlUtils 0 of 169 86 of 169
@UpdateDeployment 3 of 256 168 of 256

Testing

  • Local trials:
    • 1 node, 90 seconds: 750 changes and 77 refusals checked.
    • 3 nodes, k=1, a node killed every 60 s, 5 minutes: 616 changes and 53 refusals checked across 4 kills.
  • mvn verify passes.
  • Lab: builds Add random seed to log sqlancer/sqlancer#56 and Log the random seed value sqlancer/sqlancer#57 of matrix-systemtest-apprunner-sqlancer (branch job ENG-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.
    • Build Add random seed to log sqlancer/sqlancer#56 ran fork 585fbb8, milestones 34 to 43 before the last fix.
      • Reproductions: 84 still broken. ENG-30611 reports fixed, and the ticket is closed as fixed in V16.1.0.
      • Kill (3 nodes, k=1, a kill every 300 s): 8 kills, 8 rejoins.
      • Security (1 node, over TLS): PERMS checked 153 allowed and 174 refused statements; TASK made 286 checks.
      • Export with a kill every 300 s (3 nodes, k=2): all 4,617 rows exported, 1,240 through HTTP and 1,120 through JDBC (one twice).
      • Resize every 120 s: 10 grows, 9 shrinks.
      • XDCR: 340 XCONFLICT checks and 115 databases compared after convergence. 24 differing keys had no divergence logged; that is ENG-30679, counted rather than failed.
      • Crash every 600 s: 4 crashes, 4 recoveries.
      • Upgrade from 16.0.0 failed. A node being stopped for its upgrade refused DDL. The next fork commit handles this; see milestone 43.
    • Build Log the random seed value sqlancer/sqlancer#57 ran the upgrade run alone on fork e0cadfe, the head: 3 of 3 nodes upgraded, 414 TASK checks, 612 STATS calls and 15,923 primary key indexes checked.
    • Earlier builds: ENG-30789: the SQLCMD oracle: queries through sqlcmd as well as JDBC (milestone 58) #53 to Bump maven-surefire-plugin from 2.19.1 to 2.22.2 sqlancer/sqlancer#55 ran earlier heads of this stack. Their failures led to ENG-30682, ENG-30683, the ENG-30679 changes, the run-repros.sh port wait and TASK's timing fix.

…e runs (milestone 36)

Milestone 30's coverage run found @SetYamlConfiguration, @GetYamlConfiguration,
YamlUtils and @UpdateDeployment unexercised. CONFIG changes one runtime system
setting (by an assignment or a YAML document) and reads the settings back: that
one must have its new value and every other its old one; a change VoltDB must
refuse must change nothing. Only settings that cannot change other oracles'
results, one check at a time. run-coverage.sh runs it; the summary reports its
counts.
@jwiebema1

Copy link
Copy Markdown
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.

@jwiebema1 jwiebema1 closed this Nov 18, 2026
@jwiebema1
jwiebema1 deleted the ENG-30396-sqlancer-m36 branch November 25, 2026 13:44
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