mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 10:52:30 +00:00
fcf49a4914
Previous patch fixes the inaccuracy, but it's done using iterating over directory on each request (to system.distribution_queue or to check bytes_to_throw_insert), and like previous patch alredy stated, it may have pretty huge overhead (especially when you have lots of distributed files pending). This patch remove that recalculation (but it will still be done, and if there is different, there will be a log message), and replace it with proper account at INSERT time (and after file has been sent, or marked as broken). |
||
---|---|---|
.. | ||
DirectoryMonitor.cpp | ||
DirectoryMonitor.h | ||
DistributedBlockOutputStream.cpp | ||
DistributedBlockOutputStream.h | ||
DistributedSettings.cpp | ||
DistributedSettings.h |