Skip to content

Attempt to fix flaky 02441_alter_delete_and_drop_column - #90032

Merged
fm4v merged 2 commits into
masterfrom
try-to-fix-flaky-02441_alter_delete_and_drop_column
Nov 15, 2025
Merged

fm4v merged 2 commits into
masterfrom
try-to-fix-flaky-02441_alter_delete_and_drop_column

Conversation

@fm4v

@fm4v fm4v commented Nov 14, 2025 •

Copy link
Copy Markdown
Member

Changelog category (leave one):

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

Details

I've checked the test's history, and it was me who added this query for more debug info. Unfortunately, it made the test flaky, so I'm removing it.

select partition,name,uuid,active,marks,rows,refcount,partition_id from system.parts where database=currentDatabase() and table='mut';

There was also another reason for flakiness when marks=3. This happened because of very rare cases when randomized index_granularity=1 ("index_granularity": lambda: random.randint(1, 65536),). But I'm going to remove this check anyway.

2025-11-04 21:44:23 -tuple()	all_0_0_0	00000000-0000-0000-0000-000000000000	1	2	2	1	all
2025-11-04 21:44:23 +tuple()	all_0_0_0	00000000-0000-0000-0000-000000000000	1	3	2	1	all

The main problem:

2025-10-09 20:35:09 +ALTER_METADATA		[]

I'm adding another wait for the ALTER_METADATA disappearance.

List of recent failures

Resolves #81948

@clickhouse-gh

clickhouse-gh Bot commented Nov 14, 2025 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [353a027]

Summary: ❌

job_name test_name status info comment
Stateless tests (amd_tsan, parallel, 1/2) error
03231_bson_tuple_array_map FAIL cidb
01528_clickhouse_local_prepare_parts FAIL cidb

@fm4v
fm4v enabled auto-merge November 14, 2025 11:48
@clickhouse-gh clickhouse-gh Bot added the pr-ci label Nov 14, 2025
@jkartseva jkartseva self-assigned this Nov 14, 2025
@fm4v
fm4v added this pull request to the merge queue Nov 15, 2025
Merged via the queue into master with commit 6c1e7a5 Nov 15, 2025
@fm4v
fm4v deleted the try-to-fix-flaky-02441_alter_delete_and_drop_column branch November 15, 2025 10:23
@robot-clickhouse-ci-1 robot-clickhouse-ci-1 added the pr-synced-to-cloud The PR is synced to the cloud repo label Nov 15, 2025
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.

Functional test 02441_alter_delete_and_drop_column is flaky

3 participants