Commit Graph

93 Commits

Author SHA1 Message Date
Alexey Milovidov
c8104cb2ee Correct and unify exit codes 2024-11-07 21:31:07 +01:00
Vladimir Cherkasov
c4db9a0501
Merge pull request #71014 from jirislav/increase_default_client_history_size
Make the Replxx client history size configurable
2024-11-01 14:04:00 +00:00
Jiří Kozlovský
de8c5eaed0
Make the Replxx client history size configurable 2024-10-24 16:10:56 +02:00
Antonio Andelic
ab05f8b6e8 Fix Keeper entry serialization compatibility 2024-10-23 16:41:16 +02:00
Mikhail Artemenko
6309f36232 add limit option to rmr command 2024-09-09 09:44:19 +00:00
Mikhail Artemenko
d8f0ce92af fix style 2024-08-29 13:28:00 +00:00
Mikhail Artemenko
e9497cdcbc use tryMulti instead of NoThrow 2024-08-29 12:20:42 +00:00
Mikhail Artemenko
8bbb78375e add try limit 2024-08-29 12:18:51 +00:00
Mikhail Artemenko
4d486f1a74 update error policy 2024-08-28 15:36:15 +00:00
Mikhail Artemenko
7f613563e1 initial impl for cp/mv 2024-08-28 13:39:29 +00:00
Azat Khuzhin
e623ad041f Make C-z ignorance configurable (ignore_shell_suspend) in clickhouse-client
C-z is extermelly useful for some users (like myself), so provide a way
to configure it in client and avoid it's ignorance in clickhouse-disks
(I hope it is OK since it is not that known utility and it does not have
it's own configuration, while cli option is useless, one should remeber
about it).

Honestly I've never seen any interactive client that forbids C-z, so
ignoring it my default looks strange to me.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2024-08-19 08:33:53 +02:00
Yakov Olkhovskiy
c1b5b908ba hide Field::get in private, only use Field::safeGet 2024-08-10 13:01:55 +00: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
6b994b81a1 fix 2024-06-23 03:35:58 +02:00
Alexey Milovidov
a447a25a9d Strict parsing in Keeper client 2024-06-20 15:17:05 +02:00
Alexey Milovidov
5edf7dd9df Strict parsing in Keeper client 2024-06-20 15:13:20 +02:00
Alexander Gololobov
9d92d238ad More tidy fixes 2024-05-31 10:15:46 +02:00
Alexander Gololobov
dd5c151d86
clang-tidy fix 2024-05-30 21:22:07 +02:00
Alexander Gololobov
3da65bb0a2
Apply suggestions from code review
Co-authored-by: Konstantin Bogdanov <thevar1able@users.noreply.github.com>
2024-05-30 15:11:35 +02:00
Alexander Gololobov
abbfbe0472 Build fix 2024-05-30 14:40:27 +02:00
Alexander Gololobov
d0b61f3790
Style fix 2024-05-30 14:16:59 +02:00
Alexander Gololobov
234e0d8e99 Speedup find_* commands by making multiple async getChildren requests 2024-05-30 13:36:33 +02:00
Robert Schulze
18d432f44c
Reapply "Remove some unnecessary UNREACHABLEs"
This reverts commit 5a868304c0.
2024-05-29 13:37:47 +00:00
Alexander Tokmakov
5a868304c0
Revert "Remove some unnecessary UNREACHABLEs" 2024-05-27 11:38:22 +02:00
Robert Schulze
58e655e07b
Incorporate review feedback 2024-05-22 07:24:42 +00:00
Robert Schulze
9969f9cf30
Merge remote-tracking branch 'rschu1ze/master' into unreachable-unreachable 2024-05-19 08:26:39 +00:00
Robert Schulze
53e992af4f
Remove some unnecessary UNREACHABLEs 2024-05-17 11:46:07 +00:00
Alexey Milovidov
26501178e6 Fix analyzer 2024-05-17 10:23:32 +02:00
Alexander Gololobov
8b87ec301e Skip whitespaces before optional path arg 2024-05-16 10:36:04 +02:00
Alexander Gololobov
d4735cb1ce Add ErrorCodes 2024-05-15 19:17:53 +02:00
Alexander Gololobov
4de7773783 Properly calculate number of nodes in subtree 2024-05-15 17:50:46 +02:00
Alexander Gololobov
a5a614bff7 Traverse supernode tree because it can have other supernodes inside 2024-05-15 17:30:17 +02:00
Alexander Gololobov
8bf5dd9a97 Handle concurrent deletion on nodes 2024-05-15 17:28:47 +02:00
Alexey Milovidov
1d69518c4d Useless changes 2024-05-09 02:07:04 +02:00
Robert Schulze
97281203b8
Don't access static members through instance, pt. II
clang-tidy rightfully complains
(-readability-static-accessed-through-instance) that static member
functions are accessed through non-static members
2024-04-07 11:09:35 +00:00
Nikita Mikhaylov
15896ecaf6
Add table system.keywords [Part 1] (#51808) 2024-03-18 16:58:57 +01:00
Alexey Milovidov
01136bbc3b Limit backtracking in parser 2024-03-17 19:54:45 +01:00
Alexander Tokmakov
22c97be2a4 ability to detect undead ZooKeeper sessions 2024-02-15 22:17:31 +01:00
xuzifu666
12599c4b8e Commands node args should add rvalue to push_back 2024-02-13 17:35:55 +08:00
Maksim Kita
2a327107b6 Updated implementation 2024-01-25 14:31:49 +03:00
Alexey Milovidov
d112492c56 Remove some code 2024-01-13 03:48:04 +01:00
xuzifu666
010cc6918a
Add get_direct_children_number command to keeper-client (#55898) 2023-10-24 17:02:54 +02:00
guoxiaolong
8b47bf5e7e fix CheckSytel 2023-10-12 09:58:42 +08:00
guoxiaolong
31ff669edc change the code to for loop 2023-10-11 17:47:38 +08:00
guoxiaolong
18a6e624c9 fix description 2023-10-11 17:24:08 +08:00
guoxiaolong
3df0e77ea3 keeper_client add get_all_children_number command 2023-10-11 10:28:28 +08:00
Robert Schulze
9fff447716
Re-enable clang-tidy checks 2023-09-26 09:34:12 +00:00
János Benjamin Antal
afc753bb2d Fix typos 2023-09-16 00:11:59 +00:00
János Benjamin Antal
d975ee7608 Fix argument parsing bug 2023-09-16 00:07:54 +00:00
János Benjamin Antal
16e2f7f0b9 Add optional version argument to rm 2023-09-16 00:03:46 +00:00