ClickHouse/dbms
Silviu Caragea 64619c614f Basic idea is :
- We add BackgroundSchedulePool which can execute a function at a specific point in time. Basically all tasks are added in a queue and precessed by worker threads.
- The most important difference between this and BackgroundProcessingPool is that we have the guarantee that the same function is not executed from many workers in the same time
- Each of the following classes instead starting a thread will register a task in BackgroundSchedulePool and when they need to run will call schedule or scheduleAfter(duration) functions

This commit is moving all threads created by ReplicatedMergeTree to BackgroundSchedulePool tasks

NOTE: I did a minimum number of changes to be much simple to review the code
2017-11-17 10:58:35 +02:00
..
benchmark Get rid of double whitespaces [#CLICKHOUSE-2]. 2017-10-26 21:36:23 +03:00
cmake Auto version update to [54312] 2017-11-15 16:12:02 +03:00
scripts
src Basic idea is : 2017-11-17 10:58:35 +02:00
tests PerformanceTest fixes. 2017-11-17 00:01:00 +03:00
CMakeLists.txt DataStreams: added Cap’n Proto format support 2017-10-27 23:03:51 +03:00