Commit Graph

67 Commits

Author SHA1 Message Date
Antonio Andelic
2419e3c579 Support 64bit XID in Keeper 2024-09-24 18:06:37 +02:00
Raúl Marín
8efe8066f2 Merge remote-tracking branch 'blessed/master' into hide_yo_settings 2024-09-19 10:09:16 +02:00
Raúl Marín
a500a7ff50 Link issues and clang tidy 2024-09-18 20:35:52 +02:00
Raúl Marín
f3df7bd171 Hide Settings implementation 2024-09-18 15:48:02 +02:00
Antonio Andelic
79fc8d67ad More fixes 2024-09-02 15:46:04 +02:00
Han Fei
aebadce491 Merge branch 'master' into hanfei/keeperrocks 2024-07-17 13:52:15 +00:00
Sema Checherinda
874b4d1af0 fix tidy build 2024-07-15 19:15:45 +02:00
Han Fei
027c855fcb Merge branch 'master' into hanfei/keeperrocks 2024-07-09 23:13:48 +00:00
Han Fei
6dd13dd34a fix clean-up process 2024-07-04 17:59:07 +02:00
Han Fei
24ff0f601d update keeper bench example config file 2024-07-04 17:15:32 +02:00
Alexander Tokmakov
8c4c2b64c5 fix 2024-06-27 16:39:25 +02:00
Antonio Andelic
b899bd07cf Better 2024-05-22 16:12:33 +02:00
Antonio Andelic
d4430b583c Create snapshot 2024-05-21 16:19:14 +02:00
Antonio Andelic
f1f668e7df Setup node generator initial 2024-05-13 10:17:21 +02:00
Antonio Andelic
936f94d286 Add print 2024-05-07 14:40:45 +02:00
Antonio Andelic
14c461338b Replay ZK logs using keeper-bench 2024-04-11 14:22:14 +02:00
Raúl Marín
b269f87f4c Better text_log with ErrnoException 2023-12-15 19:27:56 +01:00
Alexey Milovidov
d56cbda185 Add metrics for the number of queued jobs, which is useful for the IO thread pool 2023-11-18 19:07:59 +01:00
Smita Kulkarni
3d5f7a65a8 Updated protocol_version and keeper-bench 2023-11-06 15:00:56 +01:00
helifu
57d60dc4f2
Add a new column xid for zookeeper_connection (#50702)
* Refactor the code

* Add a new column xid for zookeeper_connection

* Support hostnames in the configuration

* Fix a typo

* Fix a typo

* Fix a typo

* Fix a bug about connect_time

* Update test case

* Update test case

* Fix a special build check error

* Resolve conflicts caused by rebase.

* Update failed test case

* Refactor the code according to comment

* Fix two compilation errors
2023-10-20 11:38:44 +02:00
Robert Schulze
f5137dd0b4
More clang-tidy fixes 2023-09-21 14:40:57 +00:00
Roman Vasin
8649c84461 Remove conditional linking 2023-07-20 13:28:37 +00:00
Roman Vasin
5bba0ff698 Fix build of keeper-bench 2023-06-16 20:13:36 +00:00
Robert Schulze
6848eafb39
Cleanup utils build 2023-05-06 17:11:06 +00:00
Manas Alekar
6d6f3bc58b Static cast std::atomic<size_t> to uint64_t to serialize.
There are no viable constructors for the atomic in rapidJSON.
2023-05-03 18:11:17 -07:00
Azat Khuzhin
d761e24514 Do not build keeper-bench if rapidjson was disabled
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-05-03 09:49:47 +02:00
Antonio Andelic
10cfc146cb Fix spaces 2023-04-17 15:09:35 +00:00
Antonio Andelic
06087b3bf0 update README 2023-04-17 14:45:39 +00:00
Antonio Andelic
ef5d8b4f37 Add readme 2023-04-17 11:30:59 +00:00
Antonio Andelic
3dcc7e2f9e Improve outputs 2023-04-17 11:25:46 +00:00
Antonio Andelic
6bc1ab7ab1 Add JSON output 2023-04-14 18:49:28 +00:00
Antonio Andelic
ca1e6ac5ca Add example yaml 2023-04-07 15:22:03 +00:00
Antonio Andelic
e9d43a8f6a Remove generator name config 2023-04-07 15:20:36 +00:00
Antonio Andelic
46533c1ea7 CreateRequest more stable 2023-04-07 14:55:23 +00:00
Antonio Andelic
9df7a67306 Add more configurations 2023-04-07 14:15:25 +00:00
Antonio Andelic
22a4d7d1e1 Support connection definition 2023-04-07 13:02:42 +00:00
Antonio Andelic
994b6dd71c Add other requests 2023-04-06 19:17:35 +00:00
Antonio Andelic
d74ff75d83 Add support for create request test 2023-04-06 15:10:58 +00:00
Antonio Andelic
e2e32fa34c Add config 2023-04-06 10:25:37 +00:00
Azat Khuzhin
f38a7aeabe ThreadPool metrics introspection
There are lots of thread pools and simple local-vs-global is not enough
already, it is good to know which one in particular uses threads.

Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2023-03-29 10:46:59 +02:00
Antonio Andelic
f7c0cca297 Maybe better keeper-bench 2023-03-24 14:37:51 +00:00
Alexander Tokmakov
ae000e9125
Merge branch 'master' into zookeeper_client_fault_injection 2022-08-17 12:48:54 +03:00
Azat Khuzhin
d3e8ad9e7e Fix keeper-bench in case of error during scheduling a thread
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-08-12 10:56:11 +02:00
Alexander Tokmakov
ecf7ce1f74 Merge branch 'master' into zookeeper_client_fault_injection 2022-08-01 20:49:01 +02:00
Robert Schulze
1a7727a254
Prefix overridden add_executable() command with "clickhouse_"
A simple HelloWorld program with zero includes except iostream triggers
a build of ca. 2000 source files. The reason is that ClickHouse's
top-level CMakeLists.txt overrides "add_executable()" to link all
binaries against "clickhouse_new_delete". This links against
"clickhouse_common_io", which in turn has lots of 3rd party library
dependencies ... Without linking "clickhouse_new_delete", the number of
compiled files for "HelloWorld" goes down to ca. 70.

As an example, the self-extracting-executable needs none of its current
dependencies but other programs may also benefit.

In order to restore access to the original "add_executable()", the
overriding version is now prefixed. There is precedence for a
"clickhouse_" prefix (as opposed to "ch_"), for example
"clickhouse_split_debug_symbols". In general prefixing makes sense also
because overriding CMake commands relies on undocumented behavior and is
considered not-so-great practice (*).

(*) https://crascit.com/2018/09/14/do-not-redefine-cmake-commands/
2022-07-11 19:36:18 +02:00
Antonio Andelic
3a71b63b5d Add list request type 2022-06-23 10:28:12 +00:00
Alexander Tokmakov
c23bc01196 Merge branch 'master' into zookeeper_client_fault_injection 2022-05-11 17:20:42 +02:00
alesapin
3107b2bcd6 Add small script for stupid keeper check 2022-04-28 18:13:54 +02:00
Robert Schulze
118e94523c
Activate clang-tidy warning "readability-container-contains"
This check suggests replacing <Container>.count() by
<Container>.contains() which is more speaking and in case of
multimaps/multisets also faster.
2022-04-18 23:53:11 +02:00
Alexander Tokmakov
5c760fd7ce Merge branch 'master' into zookeeper_client_fault_injection 2022-03-21 11:57:40 +01:00