ClickHouse/src/Storages/MergeTree/ZeroCopyLock.cpp
2022-01-17 14:52:51 +03:00

10 lines
257 B
C++

#include "ZeroCopyLock.h"
namespace DB
{
ZeroCopyLock::ZeroCopyLock(const zkutil::ZooKeeperPtr & zookeeper, const std::string & lock_path)
: lock(zkutil::createSimpleZooKeeperLock(zookeeper, lock_path, "part_exclusive_lock", ""))
{
}
}