ClickHouse/dbms
Marek Vavruša 0652302d9a Common/MemoryTracker: fix metrics not being updated after MemoryTracker reset
The #3230 fixed a problem with memory accounting, but it introduces a regression
in which the memory tracker isn't reset until there are zero queries in process list.
This makes it difficult to see in tests as there's always just one query in-flight,
but in production it produces a sawtooth memory usage pattern that resets when
the allocated memory exceeds set memory limits and all queries are terminated.
2018-10-10 17:37:41 -07:00
..
benchmark Get rid of double whitespaces [#CLICKHOUSE-2]. 2017-10-26 21:36:23 +03:00
cmake Auto version update to [18.14.6] [54409] 2018-10-11 01:25:18 +03:00
programs Fix style and clang build 2018-10-10 11:38:54 +03:00
scripts Build and test fixes (#2470) 2018-06-05 20:43:10 +03:00
src Common/MemoryTracker: fix metrics not being updated after MemoryTracker reset 2018-10-10 17:37:41 -07:00
tests Merge pull request #3342 from 4ertus2/decimal 2018-10-10 23:00:17 +03:00
CMakeLists.txt Correct wcwidth computation for pretty outputs. 2018-10-02 10:06:18 +08:00