mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 05:22:17 +00:00
Update StorageSystemDDLWorkerQueue.cpp
This commit is contained in:
parent
b6888022cd
commit
173df9a73a
@ -206,7 +206,7 @@ static void fillStatusColumns(MutableColumns & res_columns, size_t & col,
|
|||||||
void StorageSystemDDLWorkerQueue::fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const
|
void StorageSystemDDLWorkerQueue::fillData(MutableColumns & res_columns, ContextPtr context, const SelectQueryInfo &) const
|
||||||
{
|
{
|
||||||
auto& ddl_worker = context->getDDLWorker();
|
auto& ddl_worker = context->getDDLWorker();
|
||||||
fs::path ddl_zookeeper_path = ddl_worker.getQueueDir();
|
fs::path ddl_zookeeper_path = ddl_worker.getQueueDir();
|
||||||
zkutil::ZooKeeperPtr zookeeper = ddl_worker.getAndSetZooKeeper();
|
zkutil::ZooKeeperPtr zookeeper = ddl_worker.getAndSetZooKeeper();
|
||||||
Strings ddl_task_paths = zookeeper->getChildren(ddl_zookeeper_path);
|
Strings ddl_task_paths = zookeeper->getChildren(ddl_zookeeper_path);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user