Skip to content

02443_detach_attach_partition is flaky  #54748

@CheSema

Description

@CheSema

Stats

https://s3.amazonaws.com/clickhouse-test-reports/json.html?PR=82137&sha=83b2445831e76f06deb8fed98bdee2172939381e&name_0=PR&name_1=Stateless%20tests%20%28amd_binary%2C%20old%20analyzer%2C%20s3%20storage%2C%20DatabaseReplicated%2C%202%2F2%29
Here is data race
query alter table attach patrition all
and
execution log entries from other alter table attach patrition all

2025-06-19 02:13:10 Query 'ALTER TABLE alter_table0 ATTACH PARTITION ID 'all'' failed with '[localhost] 2025.06.19 02:13:04.635364 [ 584088 ] {a9f5f2ae-2892-40c4-a7c9-f2db46257162} <Error> void DB::MetadataOperationsHolder::commitImpl(SharedMutex &): Code: 521. DB::ErrnoException: Cannot rename /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ci/tmp/run_r0/disks/s3/store/80f/80f0f55d-9969-44cb-a260-f33be426170d/detached/all_42_42_0 to /home/ubuntu/actions-runner/_work/ClickHouse/ClickHouse/ci/tmp/run_r0/disks/s3/store/80f/80f0f55d-9969-44cb-a260-f33be426170d/detached/attaching_all_42_42_0 because the second path already exists: , errno: 17, strerror: File exists. (ATOMIC_RENAME_FAIL), Stack trace (when copying this message, always include the lines below):

Metadata

Metadata

Assignees

Labels

flaky testflaky test found by CItest-requires-expertiseFixing the test is not as as simple as add more tries, limit number of threadstestingSpecial issue with list of bugs found by CI

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions