mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Update StorageReplicatedMergeTree.cpp
This commit is contained in:
parent
9769057767
commit
0623ad4e37
@ -285,7 +285,7 @@ StorageReplicatedMergeTree::StorageReplicatedMergeTree(
|
||||
, replicated_fetches_throttler(std::make_shared<Throttler>(getSettings()->max_replicated_fetches_network_bandwidth, getContext()->getReplicatedFetchesThrottler()))
|
||||
, replicated_sends_throttler(std::make_shared<Throttler>(getSettings()->max_replicated_sends_network_bandwidth, getContext()->getReplicatedSendsThrottler()))
|
||||
{
|
||||
/// We create and deactivate all task for consistency
|
||||
/// We create and deactivate all tasks for consistency
|
||||
/// They all will scheduled and activated by restarting thread.
|
||||
queue_updating_task = getContext()->getSchedulePool().createTask(
|
||||
getStorageID().getFullTableName() + " (StorageReplicatedMergeTree::queueUpdatingTask)", [this]{ queueUpdatingTask(); });
|
||||
|
Loading…
Reference in New Issue
Block a user