mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
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:
commit
7f3dff8dbd
@ -436,7 +436,7 @@ MutationsInterpreter::MutationsInterpreter(
|
|||||||
if (new_context->getSettingsRef()[Setting::allow_experimental_analyzer])
|
if (new_context->getSettingsRef()[Setting::allow_experimental_analyzer])
|
||||||
{
|
{
|
||||||
new_context->setSetting("allow_experimental_analyzer", false);
|
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);
|
context = std::move(new_context);
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|||||||
|
|
||||||
$CLICKHOUSE_CLIENT -q "
|
$CLICKHOUSE_CLIENT -q "
|
||||||
drop table if exists many_mutations;
|
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);
|
insert into many_mutations values (0, 0), (1, 1);
|
||||||
system stop merges many_mutations;
|
system stop merges many_mutations;
|
||||||
select x, y from many_mutations order by x;
|
select x, y from many_mutations order by x;
|
||||||
|
Loading…
Reference in New Issue
Block a user