Skip to content

Enable 4 index tests under parallel replicas - #104924

Merged
alexey-milovidov merged 6 commits into
masterfrom
pr-blacklist-cleanup
May 15, 2026
Merged

alexey-milovidov merged 6 commits into
masterfrom
pr-blacklist-cleanup

Conversation

@devcrafter

@devcrafter devcrafter commented May 14, 2026 •

Copy link
Copy Markdown
Member

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):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

Audited 12 blacklisted 0_stateless tests whose name contains index. For each: 10 runs with default settings, and on failure, prepended SET parallel_replicas_local_plan = 1; and re-ran 100 times to verify.

Four tests pass with parallel_replicas_local_plan = 1 and are removed from the blacklist with the setting applied:

  • 00945_bloom_filter_index — 100/100
  • 03273_primary_index_cache_low_cardinality — 100/100
  • 03274_prewarm_primary_index_cache — 100/100
  • 01410_nullable_key_and_index — 200/200 (without the setting it flakes due to non-deterministic row order)

Eight others remain flaky even with the setting and stay in the blacklist.

Version info

  • Merged into: 26.5.1.689

Set parallel_replicas_local_plan=1 for 00945_bloom_filter_index,
03273_primary_index_cache_low_cardinality, 03274_prewarm_primary_index_cache;
remove all three plus 01410_nullable_key_and_index from the blacklist.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@clickhouse-gh

clickhouse-gh Bot commented May 14, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [928458a]

Summary: ✅


AI Review

Summary

This PR removes four tests from parallel_replicas_blacklist and stabilizes them by adding SET parallel_replicas_local_plan = 1 in three tests and making 01410_nullable_key_and_index deterministic with explicit ORDER BY. I reviewed the current diff and prior discussion threads; previously raised concerns are addressed, and I found no remaining correctness or determinism issues in the changed lines.

Final Verdict
  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-ci label May 14, 2026
Comment thread tests/parallel_replicas_blacklist.txt Resolved
Comment thread tests/parallel_replicas_blacklist.txt Resolved
devcrafter and others added 2 commits May 14, 2026 10:43
200/200 with the setting; without it the test flakes due to
non-deterministic row order across replicas.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
devcrafter and others added 2 commits May 14, 2026 21:17
ORDER BY uses v, k (not the sorting-key column k as prefix) so the
result is deterministic under parallel replicas without relying on
storage order. 200/200 verified.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
@alexey-milovidov
alexey-milovidov added this pull request to the merge queue May 15, 2026
Merged via the queue into master with commit 657897f May 15, 2026
167 checks passed
@alexey-milovidov
alexey-milovidov deleted the pr-blacklist-cleanup branch May 15, 2026 18:09
@robot-ch-test-poll2 robot-ch-test-poll2 added the pr-synced-to-cloud The PR is synced to the cloud repo label May 15, 2026
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.

4 participants