mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-19 16:20:50 +00:00
fix
This commit is contained in:
parent
6ad8e789f6
commit
155bdfcf0d
@ -1365,7 +1365,7 @@ void StorageReplicatedMergeTree::checkParts(bool skip_sanity_checks)
|
||||
paranoidCheckForCoveredPartsInZooKeeperOnStart(expected_parts_vec, parts_to_fetch);
|
||||
|
||||
ActiveDataPartSet empty_unexpected_parts_set(format_version);
|
||||
for (auto & part : parts)
|
||||
for (const auto & part : parts)
|
||||
{
|
||||
if (part->rows_count || part->getState() != MergeTreeDataPartState::Active || expected_parts.contains(part->name))
|
||||
continue;
|
||||
|
@ -73,6 +73,9 @@ def test_merge_doesnt_work_without_zookeeper(start_cluster):
|
||||
== "0\n"
|
||||
)
|
||||
|
||||
node1.query("DETACH TABLE test_table SYNC")
|
||||
node1.query("ATTACH TABLE test_table")
|
||||
|
||||
node1.query(
|
||||
"INSERT INTO test_table VALUES ('2018-10-01', 1), ('2018-10-02', 2), ('2018-10-03', 3)"
|
||||
)
|
||||
|
@ -24,4 +24,4 @@ all_5_5_0 data Tuple(name String, value Float64)
|
||||
all_4_4_0 data Tuple(name String, value Int16)
|
||||
all_5_5_0 data Tuple(name String, value Float64)
|
||||
all_6_6_0 data Tuple(name String, value String)
|
||||
all_4_6_4 data Tuple(name String, value String)
|
||||
all_4_6_1 data Tuple(name String, value String)
|
||||
|
Loading…
Reference in New Issue
Block a user