mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
fix style
This commit is contained in:
parent
05ed772ccf
commit
0c9954d977
@ -1744,9 +1744,8 @@ void MergeTreeData::loadDataParts(bool skip_sanity_checks, std::optional<std::un
|
||||
{
|
||||
/// There still a chance that underlying disk is defined in storage policy
|
||||
const auto & delegate = disk->getDelegateDiskIfExists();
|
||||
is_disk_defined = delegate && !delegate->isBroken() && !delegate->isCustomDisk()
|
||||
&& delegate->getPath() == disk->getPath()
|
||||
&& defined_disk_names.contains(delegate->getName());
|
||||
is_disk_defined = delegate && !delegate->isBroken() && !delegate->isCustomDisk() && delegate->getPath() == disk->getPath()
|
||||
&& defined_disk_names.contains(delegate->getName());
|
||||
}
|
||||
|
||||
if (!is_disk_defined && disk->existsDirectory(relative_data_path))
|
||||
|
Loading…
Reference in New Issue
Block a user