mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
Merge
This commit is contained in:
parent
b00c303f7d
commit
95fc39c559
@ -28,7 +28,7 @@ public:
|
||||
: zookeeper(zookeeper_), path_prefix(path_prefix_)
|
||||
{
|
||||
/// Создадим вспомогательную эфемерную ноду.
|
||||
holder_path = zookeeper.create(temp_path + "/abandonable-lock-", "", zkutil::CreateMode::EphemeralSequential);
|
||||
holder_path = zookeeper.create(temp_path + "/abandonable_lock-", "", zkutil::CreateMode::EphemeralSequential);
|
||||
|
||||
/// Запишем в основную ноду путь к вспомогательной.
|
||||
path = zookeeper.create(path_prefix, holder_path, zkutil::CreateMode::PersistentSequential);
|
||||
|
@ -419,6 +419,7 @@ void StorageReplicatedMergeTree::queueThread()
|
||||
try
|
||||
{
|
||||
executeLogEntry(entry);
|
||||
zookeeper.remove(replica_path + "/queue/" + entry.znode_name);
|
||||
|
||||
success = true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user