Remove useless path from lockSharedData in StorageReplicatedMergeTree

This commit is contained in:
Mike Kot 2023-09-25 16:56:09 +02:00 committed by GitHub
parent 0629b8679b
commit e2dd78fdd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8825,8 +8825,6 @@ void StorageReplicatedMergeTree::lockSharedData(
auto zookeeper = tryGetZooKeeper();
if (zookeeper)
return lockSharedData(part, std::make_shared<ZooKeeperWithFaultInjection>(zookeeper), replace_existing_lock, hardlinked_files);
else
return lockSharedData(part, std::make_shared<ZooKeeperWithFaultInjection>(nullptr), replace_existing_lock, hardlinked_files);
}
void StorageReplicatedMergeTree::getLockSharedDataOps(