mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 00:22:29 +00:00
dbms: pulling logs at startup for better calculation of delays [#METR-17573].
This commit is contained in:
parent
84f4f31892
commit
fc951a9304
@ -256,6 +256,8 @@ StorageReplicatedMergeTree::StorageReplicatedMergeTree(
|
||||
database_name + "." + table_name + " (ReplicatedMergeTreeQueue)",
|
||||
data.getDataParts(), current_zookeeper);
|
||||
|
||||
queue.pullLogsToQueue(current_zookeeper, nullptr);
|
||||
|
||||
/// В этом потоке реплика будет активирована.
|
||||
restarting_thread.reset(new ReplicatedMergeTreeRestartingThread(*this));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user