Update MergeTreeData.cpp

This commit is contained in:
Alexander Tokmakov 2023-05-24 13:33:28 +03:00 committed by GitHub
parent 3f892ceb12
commit 486153d581
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1081,7 +1081,7 @@ void MergeTreeData::PartLoadingTree::add(const MergeTreePartInfo & info, const S
else if (!prev_info.isDisjoint(info))
{
throw Exception(ErrorCodes::LOGICAL_ERROR,
"Part {} intersects previous part {}. It is a bug!",
"Part {} intersects previous part {}. It is a bug or a result of manual intervention in the server or ZooKeeper data",
name, prev->second->name);
}
}
@ -1098,7 +1098,7 @@ void MergeTreeData::PartLoadingTree::add(const MergeTreePartInfo & info, const S
else if (!next_info.isDisjoint(info))
{
throw Exception(ErrorCodes::LOGICAL_ERROR,
"Part {} intersects next part {}. It is a bug!",
"Part {} intersects next part {}. It is a bug or a result of manual intervention in the server or ZooKeeper data",
name, it->second->name);
}
}