Commit Graph

614 Commits

Author SHA1 Message Date
Alexey Milovidov
0ccac1e7ff Merge branch 'master' into more-strict-tryparse 2024-08-09 20:22:37 +02:00
Alexey Milovidov
9d612a192e Merge branch 'fix-data-race-in-zookeeper' of github.com:ClickHouse/ClickHouse into fix-data-race-in-zookeeper 2024-07-27 12:10:58 +02:00
Alexey Milovidov
5f0c40fafc Apply review comments 2024-07-27 12:10:41 +02:00
Alexey Milovidov
3837a2f49a
Merge branch 'master' into fix-data-race-in-zookeeper 2024-07-27 04:10:12 +02:00
Alexey Milovidov
ca9bf2c67c Fix tidy 2024-07-26 11:53:48 +02:00
Alexey Milovidov
f3c88ff667 Fix benign data race in ZooKeeper 2024-07-26 03:56:02 +02:00
Alexander Tokmakov
a3d5b2d290
Update ZooKeeperImpl.cpp 2024-07-25 19:39:20 +02:00
Alexey Milovidov
73ecbefd41 Fix bad log message 2024-07-17 07:52:33 +02:00
Alexander Tokmakov
05a027822b
Update ZooKeeperImpl.cpp 2024-07-05 15:57:17 +02:00
Antonio Andelic
1a95259182 Add extra profiling helpers for Keeper 2024-07-01 15:17:41 +02:00
Alexey Milovidov
152edf4e38 Merge branch 'master' into more-strict-tryparse 2024-06-30 04:13:37 +02:00
Alexander Tokmakov
4748e2929f
Merge pull request #65570 from ClickHouse/keeper_az
Improve ZooKeeper load balancing
2024-06-28 22:57:20 +00:00
Alexander Tokmakov
8c4c2b64c5 fix 2024-06-27 16:39:25 +02:00
Nikita Taranov
2024f8fecd fix build 2024-06-26 23:48:41 +01:00
Alexander Tokmakov
fa108feab9 fix 2024-06-26 23:52:44 +02:00
Alexander Tokmakov
43cb2f6af7 remove trash 2024-06-26 02:03:22 +02:00
Alexander Tokmakov
614e985a37 address review comments 2024-06-24 17:50:51 +02:00
Alexander Tokmakov
7576bb2519 fix 2024-06-23 13:57:20 +02:00
Alexander Tokmakov
6b994b81a1 fix 2024-06-23 03:35:58 +02:00
Alexander Tokmakov
dbdf4e1880 improve ZooKeeper load balancing 2024-06-23 01:58:28 +02:00
Duc Canh Le
79a660c018 Merge branch 'master' into bump_fmt_9
Fix CI
2024-06-11 03:39:03 +00:00
Duc Canh Le
de5258128e update fmtlib version to 9.1.0
Signed-off-by: Duc Canh Le <duccanh.le@ahrefs.com>
2024-06-07 06:44:36 +00:00
alesapin
6d7c6a47cc
Merge pull request #64747 from ClickHouse/better-session-move-message
Return the explanation for session moved error
2024-06-04 10:55:51 +00:00
Antonio Andelic
9be51d6f20 Return the explanation for session moved error 2024-06-03 15:48:18 +02:00
Alexander Gololobov
b885b22676 Merge branch 'master' of github.com:ClickHouse/ClickHouse into faster_test_keeper_shutdown 2024-06-02 00:00:56 +02:00
Robert Schulze
18d432f44c
Reapply "Remove some unnecessary UNREACHABLEs"
This reverts commit 5a868304c0.
2024-05-29 13:37:47 +00:00
Alexander Gololobov
7c232ad21b Merge branch 'master' of github.com:ClickHouse/ClickHouse into faster_test_keeper_shutdown 2024-05-29 12:41:10 +02:00
Alexander Gololobov
052bde8020 Signal request_queue to wake up processing thread without waiting for timeout 2024-05-27 12:12:09 +02:00
Alexander Tokmakov
5a868304c0
Revert "Remove some unnecessary UNREACHABLEs" 2024-05-27 11:38:22 +02:00
Robert Schulze
7a552f5b06
Merge pull request #64035 from rschu1ze/unreachable-unreachable
Remove some unnecessary `UNREACHABLE`s
2024-05-26 20:37:17 +00:00
Robert Schulze
f182920c98
Merge remote-tracking branch 'ClickHouse/master' into redundant-inline 2024-05-26 14:21:47 +00:00
Robert Schulze
0d3aeddc93
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-22 07:25:00 +00:00
Antonio Andelic
6854f0e7ae Merge branch 'master' into keeper-bench-replay-zookeeper-log 2024-05-21 15:21:23 +02:00
Robert Schulze
a14e58ab88
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-21 05:15:35 +00:00
Robert Schulze
70637b2ecf
Merge remote-tracking branch 'rschu1ze/master' into move-isallascii 2024-05-20 13:01:53 +00:00
Robert Schulze
7887ab3848
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-20 12:58:39 +00:00
Robert Schulze
2ceb8b9c8f
Merge remote-tracking branch 'rschu1ze/master' into redundant-inline 2024-05-20 12:56:38 +00:00
Robert Schulze
113bb00005
Fix clang-tidy "-readability-redundant-inline-specifier" 2024-05-19 10:23:58 +00:00
Robert Schulze
2909e6451b
Move StringUtils.h/cpp back to Common/ 2024-05-19 09:39:36 +00:00
Robert Schulze
53e992af4f
Remove some unnecessary UNREACHABLEs 2024-05-17 11:46:07 +00:00
Azat Khuzhin
44f77fe9f5 Link dbms for zookeeper examples
Since it uses ZooKeeper, which has ThreadFromGlobalPool inside, which
requires THreadPool with enabled profiler, which requires
ThreadStatusExt.cpp, which included only into dbms, but not into
clickhouse_common_io (like ThreadStatus.cpp)

Error:

    FAILED: src/Common/ZooKeeper/examples/zkutil_test_commands_new_lib
    ld.lld-17: error: undefined symbol: DB::ThreadStatus::initGlobalProfiler(unsigned long, unsigned long)
    >>> referenced by ThreadPool.h:243 (./src/Common/ThreadPool.h:243)
    >>>               ZooKeeperImpl.cpp.o:(void std::__1::__function::__policy_invoker<void ()>::__call_impl<std::__1::__function::__default_alloc_func<ThreadFromGlobalPoolImpl<true, true>::ThreadFromGlobalPoolImpl<Coordination::ZooKeeper::ZooKeeper(std::__1::vector<Coordination::ZooKeeper::Node, std::__1::allocator<Coordination::ZooKeeper::Node>> const&, zkutil::ZooKeeperArgs const&, std::__1::shared_ptr<DB::ZooKeeperLog>)::$_0>(Coordination::ZooKeeper::ZooKeeper(std::__1::vector<Coordination::ZooKeeper::Node, std::__1::allocator<Coordination::ZooKeeper::Node>> const&, zkutil::ZooKeeperArgs const&, std::__1::shared_ptr<DB::ZooKeeperLog>)::$_0&&)::'lambda'(), void ()>>(std::__1::__function::__policy_storage const*)) in archive src/Common/ZooKeeper/libclickhouse_common_zookeeper_no_log.a

Another way of fixing it is to provide some define wich default value
for "is profiler enabled" for ThreadPool, should work, but will be
tricky.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-05-13 11:05:36 +02:00
Alexey Milovidov
23cf6d0d8b Useless changes 2024-05-11 22:51:57 +02:00
Alexey Milovidov
ced5cc1644 Useless changes 2024-05-10 05:55:04 +02:00
Alexey Milovidov
224e1940ae Useless changes 2024-05-09 03:58:34 +02:00
Alexey Milovidov
95f12ef274 Useless changes 2024-05-09 01:08:33 +02:00
Antonio Andelic
363b4de531 Merge branch 'master' into keeper-bench-replay-zookeeper-log 2024-05-06 10:33:43 +02:00
alesapin
da4690f1da Add some functions to zookeeper client 2024-04-24 17:52:23 +02:00
Antonio Andelic
ed63ff668a Merge branch 'master' into keeper-bench-replay-zookeeper-log 2024-04-11 15:27:25 +02:00
Antonio Andelic
14c461338b Replay ZK logs using keeper-bench 2024-04-11 14:22:14 +02:00
Nikita Mikhaylov
f0d7f3b44f Style fixes 2024-04-10 15:05:32 +02:00