ClickHouse/src/Storages/MergeTree/ZeroCopyLock.cpp

10 lines
257 B
C++
Raw Normal View History

2022-01-17 11:52:51 +00:00
#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", ""))
{
}
}