Repository navigation
Remove stale entries from parallel_replicas_blacklist.txt - #111230
Merged
Merged
Conversation
These tests now succeed under parallel replicas, so the ParallelReplicas stateless lane flags them ("The test succeeded, but it is listed in parallel_replicas_blacklist.txt ... Please remove it from the list"). They pass reliably on master's ParallelReplicas lane (no failures over the last week); several were blacklisted for old-path issues (WithMergeableState, StorageDummy transactions, temporary tables) that no longer reproduce.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Contributor
|
Workflow [PR], commit [12ff6eb] Summary: ✅ AI ReviewSummaryThis PR removes stale entries from Missing context / blind spots
Final Verdict
|
This was referenced Jul 29, 2026
huldarchen
pushed a commit
to huldarchen/ClickHouse
that referenced
this pull request
Jul 29, 2026
The test asserts a per-table concurrency throttle that is keyed on query id: checkLimits -> MergeTreeData::getQueryIdHolder -> insertQueryIdOrThrowNoLock throws TOO_MANY_SIMULTANEOUS_QUERIES (202) once query_id_set.size() reaches max_concurrent_queries. ReadFromParallelReplicas never calls RemoteQueryExecutor::setQueryId, so every secondary read is sent with an empty query id, and Context::setCurrentQueryId generates a random UUID when the received id is empty. With max_concurrent_queries = 1 the long running query that is supposed to occupy the single slot therefore becomes several reads of the same table on the same server, each with a different query id, so it competes against itself and is rejected instead of holding the slot. Nothing holds the slot when the final assertion runs, so it returns code 0 and the test fails with "Expected error code: 202 but got: 0". When the rejection lands before read_rows becomes visible, wait_for_query_to_start instead spins on sum(read_rows) over zero rows, which is the timeout mode recorded in the 2025 blacklist entry. The test was excluded from the ParallelReplicas lane by tests/parallel_replicas_blacklist.txt from January 2025 until ClickHouse#111230 removed the entry, which is what made this reachable. This change pins parallel replicas off for the test's client instead of restoring the entry, so all three 202 assertions keep executing on every lane. Validated on one server in both directions: without the pin 0 of 30 runs match the reference, with the pin 30 of 30 match. On ordinary lanes with randomization enabled, 50/50 pass on local disk and 50/50 on S3 storage with nothing skipped. --enable_parallel_replicas 0 alone is sufficient here; --automatic_parallel_replicas_mode 0 is redundant and is kept only to match the two existing precedents in tests/queries/0_stateless. Co-Authored-By: Claude Opus 5 <[email protected]>
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 listed tests are in
tests/parallel_replicas_blacklist.txtbut now succeed under parallel replicas. TheStateless tests (… ParallelReplicas …)lane therefore flags each of them:Removing the stale entries. They pass reliably on master's ParallelReplicas lane (100–199 runs each over the last week, zero failures). Several were blacklisted for old-path parallel-replicas problems (
Actual WithMergeableState,StorageDummytransactions, "Can't select from temporary table") that no longer reproduce.Removed:
00933_test_fix_extra_seek_on_compressed_cache,01010_partial_merge_join,01147_partial_merge_full_join,01666_merge_tree_max_query_limit,01904_ssd_cache_dictionary_default_nullable_type,02345_implicit_transaction,02417_load_marks_async,02499_monotonicity_toUnixTimestamp64,02561_temporary_table_sessions,02789_filesystem_cache_alignment,03254_prewarm_mark_cache_rmt,03273_primary_index_cache,03277_prewarm_cache_2,03707_statistics_cache.Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not for changelog.
🤖 Generated with Claude Code
Version info
26.8.1.311(included in26.8and later)