Merge pull request #50180 from ClickHouse/tavplubix-patch-6

Update an exception message
This commit is contained in:
Alexander Tokmakov 2023-05-24 15:01:50 +03:00 committed by GitHub
commit ffdd916694
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);
}
}