Merge pull request #70448 from azat/tests/02125_many_mutations

Increase lock timeout in attempt to fix 02125_many_mutations
This commit is contained in:
Alexey Milovidov 2024-10-19 21:19:51 +08:00 committed by GitHub
commit 7f3dff8dbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -436,7 +436,7 @@ MutationsInterpreter::MutationsInterpreter(
if (new_context->getSettingsRef()[Setting::allow_experimental_analyzer])
{
new_context->setSetting("allow_experimental_analyzer", false);
LOG_DEBUG(logger, "Will use old analyzer to prepare mutation");
LOG_TEST(logger, "Will use old analyzer to prepare mutation");
}
context = std::move(new_context);

View File

@ -9,7 +9,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
$CLICKHOUSE_CLIENT -q "
drop table if exists many_mutations;
create table many_mutations (x UInt32, y UInt32) engine = MergeTree order by x settings number_of_mutations_to_delay = 0, number_of_mutations_to_throw = 0, max_parts_to_merge_at_once = 1;
create table many_mutations (x UInt32, y UInt32) engine = MergeTree order by x settings number_of_mutations_to_delay = 0, number_of_mutations_to_throw = 0, max_parts_to_merge_at_once = 1, lock_acquire_timeout_for_background_operations = 300;
insert into many_mutations values (0, 0), (1, 1);
system stop merges many_mutations;
select x, y from many_mutations order by x;