Repository navigation
Fix false-positive hung check failure caused by server-side AST fuzzer - #100472
Merged
Algunenano merged 2 commits intoMar 24, 2026
Merged
Conversation
The stress test profile sets `ast_fuzzer_runs=5`, enabling server-side AST fuzzing for all queries. When the hung check runs its `SELECT count() FROM system.processes` query via HTTP, the fuzzer mutates it and spawns additional queries that appear in the processlist — creating a self-referential loop where the hung check always sees > 0 queries. Two fixes: 1. Add `ast_fuzzer_runs=0` to the default HTTP params in `clickhouse_execute_http`, so infrastructure queries are not fuzzed. 2. When `get_processlist_with_stacktraces` times out, re-check `get_processlist_size` — if queries finished, don't fail. References: ClickHouse#100439 Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Contributor
|
Workflow [PR], commit [8a1d6ac] Summary: ❌
AI ReviewSummaryThis PR updates ClickHouse Rules
Final Verdict
|
1 task
Merged
via the queue into
ClickHouse:master
with commit Mar 24, 2026
27b1c08
147 of 148 checks passed
1 task
1 task
1 task
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.
The stress test profile sets
ast_fuzzer_runs=5in the server config, enabling server-side AST fuzzing for all queries. When the hung check runs itsSELECT count() FROM system.processesquery via HTTP, the fuzzer mutates it and spawns additional queries that themselves appear in the processlist — creating a self-referential loop where the hung check always sees > 0 queries. After 90 seconds of polling, it attemptsget_processlist_with_stacktraces(a heavy JOIN with symbolization, also fuzzed), which times out. By then the original queries have finished, butexit_code=1is already set.Two fixes:
ast_fuzzer_runs=0to the default HTTP params inclickhouse_execute_http, so all infrastructure queries (hung check, log analysis) are not fuzzed.get_processlist_with_stacktracestimes out, re-checkget_processlist_size— if queries have finished during the timeout, don't treat it as a failure.References: #100439
Closes #100445
Changelog category:
Changelog entry:
...
Documentation entry for user-facing changes
Version info
26.4.1.181