Fix typo in StorageDistributed

This commit is contained in:
Azat Khuzhin 2020-06-03 03:10:39 +03:00
parent 5d3383edbe
commit 60d10f1bac
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;