mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
fix test
This commit is contained in:
parent
c8e41dc07c
commit
d008b4eb4f
@ -623,6 +623,15 @@ void DataPartStorageOnDiskBase::remove(
|
||||
}
|
||||
}
|
||||
|
||||
if (!disk->exists(from))
|
||||
{
|
||||
LOG_ERROR(log, "Directory {} (part to remove) doesn't exist or one of nested files has gone. Most likely this is due to manual removing. This should be discouraged. Ignoring.", fullPath(disk, from));
|
||||
/// We will never touch this part again, so unlocking it from zero-copy
|
||||
if (!can_remove_description)
|
||||
can_remove_description.emplace(can_remove_callback());
|
||||
return;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
disk->moveDirectory(from, to);
|
||||
|
Loading…
Reference in New Issue
Block a user