mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 02:41:59 +00:00
10 lines
257 B
C++
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", ""))
|
|
{
|
|
}
|
|
}
|