ClickHouse/src/Storages/Distributed
Azat Khuzhin a588947fe2 Fix DistributedFilesToInsert metric (zeroed when it should not)
CurrentMetrics::Increment add amount for specified metric only for the
lifetime of the object, but this is not the intention, since
DistributedFilesToInsert is a gauge and after #10263 it can exit from
the callback (and enter again later, for example after SYSTEM STOP
DISTRIBUTED SEND it will always exit from it, until SYSTEM START
DISTRIBUTED SEND).

So make Increment member of a class (this will also fix possible issues
with substructing value on DROP TABLE).
2020-08-27 00:43:00 +03:00
..
DirectoryMonitor.cpp Fix DistributedFilesToInsert metric (zeroed when it should not) 2020-08-27 00:43:00 +03:00
DirectoryMonitor.h Fix DistributedFilesToInsert metric (zeroed when it should not) 2020-08-27 00:43:00 +03:00
DistributedBlockOutputStream.cpp Rework and rename the template class SettingsCollection => BaseSettings. 2020-07-31 20:54:18 +03:00
DistributedBlockOutputStream.h Fix 99% of typos 2020-08-08 04:01:47 +03:00