mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-18 12:22:12 +00:00
Adjust error message about intersecting parts (remove ZooKeeper note from common code)
It could happen for MergeTree as well. Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
54a1b1c573
commit
fd9c4d53cc
@ -1329,7 +1329,7 @@ void MergeTreeData::PartLoadingTree::add(const MergeTreePartInfo & info, const S
|
|||||||
if (!prev_info.isDisjoint(info))
|
if (!prev_info.isDisjoint(info))
|
||||||
{
|
{
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
||||||
"Part {} intersects previous part {}. It is a bug or a result of manual intervention in the server or ZooKeeper data",
|
"Part {} intersects previous part {}. It is a bug or a result of manual intervention",
|
||||||
name, prev->second->name);
|
name, prev->second->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1346,7 +1346,7 @@ void MergeTreeData::PartLoadingTree::add(const MergeTreePartInfo & info, const S
|
|||||||
if (!next_info.isDisjoint(info))
|
if (!next_info.isDisjoint(info))
|
||||||
{
|
{
|
||||||
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
throw Exception(ErrorCodes::LOGICAL_ERROR,
|
||||||
"Part {} intersects next part {}. It is a bug or a result of manual intervention in the server or ZooKeeper data",
|
"Part {} intersects next part {}. It is a bug or a result of manual intervention",
|
||||||
name, it->second->name);
|
name, it->second->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user