提交 1ad0c928 编写于 作者: V Vladimir Chebotarev

Fixed logic error introduced in previous commit.

上级 04a9e0b6
......@@ -804,7 +804,7 @@ void MergeTreeData::loadDataParts(bool skip_sanity_checks)
auto disks = storage_policy->getDisks();
/// Only check if user did touch storage configuration for this table.
if (getStoragePolicy()->isDefaultPolicy() && !skip_sanity_checks)
if (!getStoragePolicy()->isDefaultPolicy() && !skip_sanity_checks)
{
/// Check extra parts at different disks, in order to not allow to miss data parts at undefined disks.
std::unordered_set<String> defined_disk_names;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册