Skip to content

fix flaky 02293_part_log_has_merge_reason: wait merge explicitly - #40455

Merged
alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
CheSema:fix-flaky-test
Aug 22, 2022
Merged

alexey-milovidov merged 1 commit into
ClickHouse:masterfrom
CheSema:fix-flaky-test

Conversation

@CheSema

@CheSema CheSema commented Aug 20, 2022 •

Copy link
Copy Markdown
Member

02293_part_log_has_merge_reason is a flaky test

Merge of table parts happens asynchronously. Now test wait explicitly when merge happens and only after that test queries system.part_log. From that point of view previous implementation was completely wrong. Because OPTIMIZE TABLE runs ordinary merge, not a ttl delete merge.

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

@robot-clickhouse robot-clickhouse added the pr-not-for-changelog This PR should not be mentioned in the changelog label Aug 20, 2022
@CheSema
CheSema marked this pull request as ready for review August 22, 2022 10:23
@CheSema

CheSema commented Aug 22, 2022 •

Copy link
Copy Markdown
Member Author

First implementation:
#36912

@alexey-milovidov alexey-milovidov self-assigned this Aug 22, 2022
@alexey-milovidov
alexey-milovidov merged commit 57e6224 into ClickHouse:master Aug 22, 2022
@CheSema
CheSema deleted the fix-flaky-test branch August 23, 2022 09:57
@CheSema CheSema mentioned this pull request Sep 5, 2022
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants