Repository navigation
Conversation
…r, time and mask functions the coverage run found unexercised, and PQS models 19 of them (milestone 31) New: LEFT, RIGHT, REPEAT, REPLACE, SPACE, CONCAT, OVERLAY, CHAR, HEX, BIN, OCTET_LENGTH, POSITION, REGEXP_POSITION, BITAND, BITOR, BITXOR, BITNOT, BIT_SHIFT_LEFT, BIT_SHIFT_RIGHT, SIGN, ROUND, STR, FORMAT_CURRENCY, DATEDIFF, TIME_WINDOW, FROM_UNIXTIME, FORMAT_TIMESTAMP and MASK_TEXT, MASK_INNER, MASK_OUTER, MASK_PARTIAL. Bitwise operands are BIGINT (CAST(x AS BIGINT)); ROUND, STR and FORMAT_CURRENCY get the FLOAT or DECIMAL they are documented to take. Found ENG-30655 (TIME_WINDOW(..., END) in a procedure blocks all later DDL); TIME_WINDOW's option is START while avoiding known bugs. Reproduction voltdb/repros/ENG-30655.sql.
… ENG-30656 (ROUND, STR and FORMAT_CURRENCY on a DECIMAL of 2^63 or more) and its reproduction
…ME of a NULL); FORMAT_TIMESTAMP's argument is a TIMESTAMP column or constant while avoiding known bugs; reproduction
… after a flush; PERMS retries a query made stale by another thread's DDL; run-repros counts a crash whose server has not exited - VoltDBProvider.awaitDrApplied: LASTQUEUEDDRID counts only flushed DR buffers (flushed every 1 s by default), so rows written in the last second were not waited for, reached a dropped table and paused the DR stream for good (ENG-30630). It now starts 1.5 s in, and a wait that runs out is logged. - VoltDBPermissionOracle: the users' plain JDBC connections did not retry "planned against a catalog version which does not match"; queries are retried for up to 60 s, then skipped. - run-repros.sh: on the lab's agents ENG-30595's crashed server had not exited after 300 s, so the reproduction was reported CHANGED; a lost connection with a crash in the server's logs now counts as a crash.
… during a catalog update); DDL held around each kill; reproduction - run-sqlancer.sh: with --kill-interval the provider gets --ddl-hold, and the script creates the file 3 s before each kill and deletes it once the survivors have handled the failure, so no catalog update is in flight when a node dies (ENG-30612, ENG-30663). The provider ignores it with --avoid-known-bugs false. - voltdb/repros/ENG-30663.sh: 3 nodes k=1, DDL clients in a loop, a node killed every 8 s and rejoined; exit 0 when a survivor crashes. Manual: a race (1 of 3 local runs). - README: the hold in Node failures, and ENG-30663's row.
Lab build #49's kill run (with the hold released 5 s after the kill): DDL ran while node 0 rejoined, and as the rejoin finished both survivors crashed in the engine (SIGSEGV in PersistentTable::index and in __dynamic_cast), leaving node 0 alone to stop on partition detection. The hold now lasts until the node logs "Node rejoin completed" (up to 120 s after the rejoin's "Server completed initialization"); the README describes it after the steps of a node failure.
…clients, which reproduced at the 2nd kill (1 of 2 runs)
This was referenced Nov 12, 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 31 of ENG-30396 (tracked in ENG-30581, epic ENG-30580 "SQL Housekeeping"): the first coverage gap that milestone 30's measurement found, the engine's string, bitwise, number, time and mask functions; and what lab build #46 found in this milestone and the ones before it. Stacked on #29 (milestone 30), which is stacked on #28 to #1; review those first.
Why
Milestone 30's coverage run found about 2,300 engine lines that no run reached, most of them in
stringfunctions.h,bitwisefunctions.h,datefunctions.handnumericfunctions.h: the expression generator never wrote those functions.What it changes
The functions
CAST(x AS BIGINT)). ROUND, STR and FORMAT_CURRENCY get the FLOAT or DECIMAL they are documented to take.What lab build #46 found
--ddl-hold, as around a shrink) from 3 s before each kill until the node logs "Node rejoin completed".-- --avoid-known-bugs falsethe provider ignores the hold.-- manual:as it is a race).Bugs found
--avoid-known-bugsis trueTIME_WINDOW(..., END)blocks every later DDL, its own DROP included ("unexpected token: END").FORMAT_TIMESTAMP(TO_TIMESTAMP(unit, n))andFORMAT_TIMESTAMP(FROM_UNIXTIME(n))fail on a NULLn: "Type BIGINT can't be cast as TIMESTAMP or DATE".Coverage (the same runs as milestone 30, master bf8602e3)
stringfunctions.hbitwisefunctions.hdatefunctions.hnumericfunctions.hTesting
mvn verify(formatter, TestVoltDBExpressionEvaluator) passes.