Commit Graph

1496 Commits

Author SHA1 Message Date
Han Fei
8a54c85f3c
Merge pull request #61049 from hanfei1991/hanfei/check-limit-periodically
Check cgroups memory limit update periodically
2024-03-18 15:15:46 +01:00
Robert Schulze
06d917fcf0
Merge pull request #61150 from rschu1ze/clang-tidy-list
Some clang-tidy fixes
2024-03-14 14:54:41 +01:00
Sema Checherinda
689c715408
Merge pull request #61309 from ClickHouse/chesema-fix-poco-tcp-server
fix data race in poco tcp server
2024-03-14 12:11:52 +01:00
Robert Schulze
3486b4a6e3
Merge remote-tracking branch 'rschu1ze/master' into clang-tidy-list 2024-03-14 10:44:20 +00:00
Robert Schulze
4e12b5dc91
Some fixups 2024-03-13 16:54:20 +00:00
Sema Checherinda
e6af636a54 fix data race in poco tcp server 2024-03-13 14:14:35 +01:00
Nikita Mikhaylov
ca282ab451 Better 2024-03-12 17:33:09 +00:00
Nikita Mikhaylov
3149111589
Merge branch 'master' into modern-assert 2024-03-12 18:30:44 +01:00
Nikita Mikhaylov
f3f1f611a4 Better 2024-03-12 17:26:42 +00:00
Robert Schulze
802bae9661
GCC --> clang pragmas 2024-03-11 12:55:56 +00:00
Sema Checherinda
5c41727725 http connections pools 2024-03-10 10:00:18 +01:00
Nikita Mikhaylov
82ba97c3a7
More explicit template instantiations (#60730) 2024-03-07 17:16:13 +01:00
Alexey Milovidov
a7430004b3 Fix real time query profiler on AArch64 2024-03-04 18:13:49 +01:00
Alexey Milovidov
cbf5443585 Remove old code 2024-03-04 00:11:55 +01:00
Alexey Milovidov
c192a448d0 Update to clang-19 2024-02-27 14:37:21 +01:00
Robert Schulze
6a027b3528
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-21 11:48:34 +00:00
Robert Schulze
66ad90e23a
Factorize cgroups-related code into common functions 2024-02-21 11:47:38 +00:00
Yarik Briukhovetskyi
941e179be2
Merge branch 'ClickHouse:master' into div_int_with_decimal 2024-02-14 13:16:13 +01:00
Robert Schulze
7b7ea6d477
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-14 08:56:22 +00:00
Alexey Milovidov
61227acdc4 Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-10 19:30:22 +01:00
Robert Schulze
3a4b6a2379
Merge remote-tracking branch 'rschu1ze/master' into cgroup-observing-memory-tracker 2024-02-10 13:53:19 +00:00
Maksim Kita
cb702f72ef Updated implementation 2024-02-09 21:39:35 +03:00
Maksim Kita
dc52def9eb Revert "Revert "Poco Logger small refactoring"" 2024-02-09 21:39:35 +03:00
Robert Schulze
f6f1fd4d26
Initial implementation 2024-02-08 16:06:44 +00:00
Alexey Milovidov
02c0b4c67f Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-02-07 22:45:50 +01:00
Alexey Milovidov
d65a56d967
Merge branch 'master' into enable-coverage-for-debug-build 2024-02-07 04:58:21 +01:00
Raúl Marín
b609fc157f Silence tidy 2024-02-06 20:33:32 +01:00
Raúl Marín
333c45634f Infinite recursion 2024-02-06 20:33:32 +01:00
Raúl Marín
0a4e73a98d Strict aliasing for Int8 2024-02-06 20:33:32 +01:00
robot-ch-test-poll4
3af96c6970
Merge pull request #59435 from rschu1ze/nested-memory-cgroups
Consider nested cgroup memory limits for the total memory tracker
2024-02-06 20:18:00 +01:00
Robert Schulze
ad13a57b7f
Improve detection of v2 capabilities 2024-02-05 13:43:55 +00:00
Robert Schulze
7d8fbf90cd
Merge remote-tracking branch 'rschu1ze/master' into nested-memory-cgroups 2024-02-05 13:26:51 +00:00
mikhnenko
a2fc3facca Add missed #include <bit> and <exception> 2024-02-05 13:21:06 +03:00
Raúl Marín
87d493533c
Revert "Poco Logger small refactoring" 2024-02-02 12:10:05 +01:00
Robert Schulze
80a0e05ac4
Resurrect v1 2024-02-02 10:46:07 +00:00
Robert Schulze
e997168b50
Support memory limits in nested cgroups 2024-02-02 10:46:07 +00:00
yariks5s
d5eec2d85b trying to fix (casting the result to int) 2024-02-01 16:27:57 +00:00
Robert Schulze
3243ea0b66
Remove cgroups v1 support to simplify the code going forward 2024-02-01 12:16:31 +00:00
Robert Schulze
ad0c0d8727
Factorize cgroup memory access code
This fixes the edge case that cgroup memory limit "0" is no longer
interpreted as "no limit" but as actual zero available memory, see (*).
The cgroup default setting "max" continues to be interpreted as "no
limit".

(*) https://docs.kernel.org/admin-guide/cgroup-v2.html
2024-02-01 12:15:51 +00:00
Robert Schulze
92a00d317c
Cosmetics 2024-02-01 12:14:03 +00:00
Maksim Kita
f62fdb86b8 Fixed tests 2024-02-01 12:51:50 +03:00
Maksim Kita
056108667f Fixed tests 2024-02-01 12:51:50 +03:00
Maksim Kita
ecbea6f625 Updated implementation 2024-02-01 12:51:50 +03:00
Maksim Kita
88f1381739 Poco Logger small refactoring 2024-02-01 12:51:50 +03:00
Maksim Kita
86a542b5c4 Updated implementation 2024-01-30 17:15:29 +03:00
Alexey Milovidov
eb54432cbe Merge branch 'master' of github.com:ClickHouse/ClickHouse into enable-coverage-for-debug-build 2024-01-30 03:53:11 +01:00
Alexey Milovidov
4a94ae5a1b Merge branch 'master' into enable-coverage-for-debug-build 2024-01-28 22:24:26 +01:00
Maksim Kita
bccd8b5e27 Fixed tests 2024-01-28 13:55:44 +03:00
Maksim Kita
50309dfd90 Fixed tests 2024-01-28 13:55:44 +03:00
Maksim Kita
07750ee949 Added AtomicLogger 2024-01-28 13:55:44 +03:00