Skip to content

Fix flaky 03100_lwu_01_basics - #100273

Merged
alexey-milovidov merged 1 commit into
masterfrom
fix_flaky_03100_lwu_01_basics
Mar 21, 2026
Merged

alexey-milovidov merged 1 commit into
masterfrom
fix_flaky_03100_lwu_01_basics

Conversation

@Michicosun

@Michicosun Michicosun commented Mar 21, 2026 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

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

Test expects patch part patch-4811bd937f1be8e9d5ec5374e149fefa-all_0_0_0_2 will be alive after ALTER TABLE t_shared APPLY PATCHES but there is a background process that will replace unused patch parts (that were applied to parts) with covering.

So sometimes there can be this output https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=100064&sha=4d7cfd8dc0a4b979804be98e83bb36ff338b29cc&name_0=PR&name_1=Stateless%20tests%20%28amd_asan_ubsan%2C%20distributed%20plan%2C%20parallel%2C%202%2F2%29
#100064

Version info

  • Merged into: 26.4.1.86

@clickhouse-gh

clickhouse-gh Bot commented Mar 21, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [2f6419b]

Summary: ✅


AI Review

Summary

This PR fixes flakiness in 03100_lwu_01_basics by setting remove_unused_patch_parts = false for the test table, preventing background cleanup from racing expected patch-part visibility. The change is narrowly scoped to one stateless test, has no production-code impact, and is a safe, targeted CI-stability improvement.

ClickHouse Rules

Item Status Notes
Deletion logging ➖
Serialization versioning ➖
Core-area scrutiny ✅
No test removal ✅
Experimental gate ➖
No magic constants ✅
Backward compatibility ✅
SettingsChangesHistory.cpp ➖
PR metadata quality ✅
Safe rollout ✅
Compilation time ✅

Final Verdict

  • Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Mar 21, 2026
@alexey-milovidov
alexey-milovidov merged commit 89c1066 into master Mar 21, 2026
148 checks passed
@alexey-milovidov
alexey-milovidov deleted the fix_flaky_03100_lwu_01_basics branch March 21, 2026 15:30
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Mar 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog 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.

3 participants