mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
Remove useless path from lockSharedData in StorageReplicatedMergeTree
This commit is contained in:
parent
0629b8679b
commit
e2dd78fdd9
@ -8825,8 +8825,6 @@ void StorageReplicatedMergeTree::lockSharedData(
|
|||||||
auto zookeeper = tryGetZooKeeper();
|
auto zookeeper = tryGetZooKeeper();
|
||||||
if (zookeeper)
|
if (zookeeper)
|
||||||
return lockSharedData(part, std::make_shared<ZooKeeperWithFaultInjection>(zookeeper), replace_existing_lock, hardlinked_files);
|
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(
|
void StorageReplicatedMergeTree::getLockSharedDataOps(
|
||||||
|
Loading…
Reference in New Issue
Block a user