mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 09:32:06 +00:00
Make disk object storage compatible with other storages
This commit is contained in:
parent
0908ce8e14
commit
9ecf6e70a9
@ -294,7 +294,9 @@ struct RemoveRecursiveObjectStorageOperation final : public IDiskObjectStorageOp
|
||||
|
||||
void execute(MetadataTransactionPtr tx) override
|
||||
{
|
||||
removeMetadataRecursive(tx, path);
|
||||
/// Similar to DiskLocal and https://en.cppreference.com/w/cpp/filesystem/remove
|
||||
if (metadata_storage.exists(path))
|
||||
removeMetadataRecursive(tx, path);
|
||||
}
|
||||
|
||||
void undo() override
|
||||
|
Loading…
Reference in New Issue
Block a user