mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 01:51:59 +00:00
Fixed tests.
This commit is contained in:
parent
29068663ea
commit
ab5171f403
@ -799,7 +799,7 @@ void MergeTreeData::loadDataParts(bool skip_sanity_checks)
|
||||
|
||||
for (auto & [disk_name, disk_ptr] : global_context.getDiskSelector().getDisksMap())
|
||||
{
|
||||
if (defined_disk_names.count(disk_name) == 0)
|
||||
if (defined_disk_names.count(disk_name) == 0 && Poco::File(getFullPathOnDisk(disk_ptr)).exists())
|
||||
{
|
||||
for (Poco::DirectoryIterator it(getFullPathOnDisk(disk_ptr)); it != end; ++it)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user