Skip to content

Remove stale entries from parallel_replicas_blacklist.txt - #111230

Merged
devcrafter merged 4 commits into
masterfrom
remove-stale-parallel-replicas-blacklist
Jul 28, 2026
Merged

devcrafter merged 4 commits into
masterfrom
remove-stale-parallel-replicas-blacklist

Conversation

@devcrafter

@devcrafter devcrafter commented Jul 21, 2026 •

Copy link
Copy Markdown
Member

The listed tests are in tests/parallel_replicas_blacklist.txt but now succeed under parallel replicas. The Stateless tests (… ParallelReplicas …) lane therefore flags each of them:

The test succeeded, but it is listed in parallel_replicas_blacklist.txt or async_insert_blacklist.txt. Please remove it from the list

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, StorageDummy transactions, "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):

  • CI Fix or improvement (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):

Not for changelog.

🤖 Generated with Claude Code

Version info

  • Merged into: 26.8.1.311 (included in 26.8 and later)

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]>
@clickhouse-gh

clickhouse-gh Bot commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [12ff6eb]

Summary: ✅


AI Review

Summary

This PR removes stale entries from tests/parallel_replicas_blacklist.txt so passing stateless tests are no longer treated as expected ParallelReplicas failures. I reviewed the current diff, the removed test bodies, the existing PR discussion, and the current CI/report state, and I did not find a concrete correctness issue in the blacklist cleanup.

Missing context / blind spots
  • ⚠️ The PR's own dedicated ParallelReplicas reports are targeted and currently show zero executed tests for this patch, so the main execution evidence is the recent master-lane history described in the PR body rather than fresh per-test runs in this PR.
Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label Jul 21, 2026
@devcrafter
devcrafter added this pull request to the merge queue Jul 28, 2026
Merged via the queue into master with commit 86d92d6 Jul 28, 2026
178 checks passed
@devcrafter
devcrafter deleted the remove-stale-parallel-replicas-blacklist branch July 28, 2026 19:59
@robot-clickhouse robot-clickhouse added the pr-synced-to-cloud The PR is synced to the cloud repo label Jul 28, 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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-ci pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants