You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a test for lightweight delete, I perform concurrent lightweight delete in loop and attach, detach partition in loop.
I create MergeTree table, insert data into it, then concurrently:
I perform lightweight delete for each partition in loop for some data in each partition(not all the data).
I perform attach detach one partition in loop.
Then I check that data deleted in every partition or deleted in every partition except detached
This test can fail in 2 ways:
Concurrent detach partition and lightweight delete can cause this exception Code: 341. DB::Exception: Received from localhost:9000. DB::Exception: Exception happened during execution of mutation 'mutation_12.txt' with part '6_7_7_0_11' reason: 'Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED) (version 23.3.2.37 (official build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED).
Data in detached partition may disappear completely after attach partition.
Tested on 23.3.2.37-alpine
on 22.8 it works
Manually it is very hard to catch this fails.
The text was updated successfully, but these errors were encountered:
I have a test for lightweight delete, I perform concurrent lightweight delete in loop and attach, detach partition in loop.
I create MergeTree table, insert data into it, then concurrently:
Then I check that data deleted in every partition or deleted in every partition except detached
This test can fail in 2 ways:
Code: 341. DB::Exception: Received from localhost:9000. DB::Exception: Exception happened during execution of mutation 'mutation_12.txt' with part '6_7_7_0_11' reason: 'Code: 236. DB::Exception: Cancelled mutating parts. (ABORTED) (version 23.3.2.37 (official build))'. This error maybe retryable or not. In case of unretryable error, mutation can be killed with KILL MUTATION query. (UNFINISHED)
.Tested on 23.3.2.37-alpine
on 22.8 it works
Manually it is very hard to catch this fails.
The text was updated successfully, but these errors were encountered: