mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-03 13:02:00 +00:00
Fix typo in StorageDistributed
This commit is contained in:
parent
5d3383edbe
commit
60d10f1bac
@ -649,9 +649,9 @@ StorageDistributedDirectoryMonitor& StorageDistributed::requireDirectoryMonitor(
|
||||
auto & node_data = cluster_nodes_data[key];
|
||||
if (!node_data.directory_monitor)
|
||||
{
|
||||
node_data.conneciton_pool = StorageDistributedDirectoryMonitor::createPool(name, *this);
|
||||
node_data.connection_pool = StorageDistributedDirectoryMonitor::createPool(name, *this);
|
||||
node_data.directory_monitor = std::make_unique<StorageDistributedDirectoryMonitor>(
|
||||
*this, path, node_data.conneciton_pool, monitors_blocker, global_context->getDistributedSchedulePool());
|
||||
*this, path, node_data.connection_pool, monitors_blocker, global_context->getDistributedSchedulePool());
|
||||
}
|
||||
return *node_data.directory_monitor;
|
||||
}
|
||||
|
@ -181,7 +181,7 @@ protected:
|
||||
struct ClusterNodeData
|
||||
{
|
||||
std::unique_ptr<StorageDistributedDirectoryMonitor> directory_monitor;
|
||||
ConnectionPoolPtr conneciton_pool;
|
||||
ConnectionPoolPtr connection_pool;
|
||||
|
||||
void flushAllData() const;
|
||||
void shutdownAndDropAllData() const;
|
||||
|
Loading…
Reference in New Issue
Block a user