mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix stupid buge
This commit is contained in:
parent
0cd82080b9
commit
99b78a7cb7
@ -396,7 +396,7 @@ void DiskObjectStorage::removeMetadata(const String & path, std::vector<String>
|
||||
tx->unlinkMetadata(path);
|
||||
tx->commit();
|
||||
|
||||
if (hardlink_count <= 1)
|
||||
if (hardlink_count == 0)
|
||||
{
|
||||
paths_to_remove = remote_objects;
|
||||
for (const auto & path_to_remove : paths_to_remove)
|
||||
|
Loading…
Reference in New Issue
Block a user