Repository navigation
Conversation
…s to 26.3 Requested in ClickHouse#123752 (comment): 26.3 is the oldest supported release. The stress runner drew `compatibility` from 20.1, the AST fuzzer from 24.1 (and pinned 24.3 in its `old_compatibility` job), and BuzzHouse from 24.3. Under `compatibility` <= 24.10 with Keeper fault injection, a cancelled `BACKUP ... ON CLUSTER` waited without a deadline and failed the stress hung check. The `max_parser_backtracks` client pin stays. Since ClickHouse#111120 the client no longer sends compatibility-derived values, but a test's own `SET compatibility` older than 24.3 still reverts it to 0 (unbounded) for the client's own parser; its comments now say so. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Internal second-model review: adjudication log (click to expand)Pre-publication review by an independent model (engine: codex; 0 findings) plus my own cold review (2 findings).
Severity: ❌ blocker / Session id: cron:clickhouse-review-slot-11:20261005-125000 |
Pre-PR validation gate (click to expand)
Session id: cron:clickhouse-impl-slot-5:20261005-123500 |
|
Workflow [PR], commit [b63c96f] AI ReviewSummaryThis PR raises the randomized Final Verdict
|
| compatibility_setting = ( | ||
| f"{random.randint(24, 27)}.{random.randint(1, 12)}" | ||
| ) | ||
| # A uniform month in 26.3..27.12. |
There was a problem hiding this comment.
@groeneai can you make this more future proof? The maximum value should be for the current month, in today's case 26.10
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not required.
Description
As requested in #123752 (comment): 26.3 is the oldest supported release (
SECURITY.md), so CI no longer runs the server with an oldercompatibility.Four producers drew one below 26.3. Each now starts at 26.3 and keeps its upper bound:
stress.py, 20% of runs):{20..26}.{1..12}->26.3..26.12;24.1..27.12->26.3..27.12, theold_compatibilityjob24.3->26.3;24.3..<current month>->26.3..<current month>.A value newer than the running version is a valid no-op (default settings) until that release ships. The floor needs a bump when 26.3 leaves support.
This removes a stress hung check where a cancelled
BACKUP ... ON CLUSTERstays in the processlist for 20-65 minutes:compatibility<= 24.10 resets four BACKUP ON CLUSTER settings to0(no Keeper retries, no deadline on the wait after an error), and the stress Keeper fault injection then leaves the initiator waiting without a deadline. Seen 4 times in 10 days, e.g. on master: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=ddae0611a3ab661ca71bd60ed21d202c4a544542&name_0=MasterCI&name_1=Stress%20test%20%28arm_debug%29 and on #115453: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=115453&sha=e8be30e79ebc4b0451cfa8922a81560da6d672aa&name_0=PR&name_1=Stress%20test%20%28amd_debug%29The
max_parser_backtracks=1000000client pin stays. Since #111120 the client no longer sends compatibility-derived values, but a test's ownSET compatibilityolder than 24.3 still resets it to0(unbounded) for the client's own parser; its two comments now say so.Validation (throwaway probes): 20000
get_optionsdraws give exactly26.3..26.12(master: from20.1); the AST fuzzer expressions give exactly the 22 months26.3..27.12, plus26.3; BuzzHouseSessionSettings.cppcompiles. AfterSET compatibility = '20.3'the client parses the03012_parser_backtrackingquery unbounded (11 s, then a syntax error); with the pin it stops atTOO_SLOW_PARSINGin 1 s.Workflow [PR]
Sync PR [sync-upstream/pr/124027]