mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Merge pull request #66095 from hanfei1991/hanfei/update-keeper-bench-example
update keeper bench example config file
This commit is contained in:
commit
447edfba44
@ -1311,9 +1311,9 @@ void removeRecursive(Coordination::ZooKeeper & zookeeper, const std::string & pa
|
||||
while (!children_span.empty())
|
||||
{
|
||||
Coordination::Requests ops;
|
||||
for (size_t i = 0; i < 1000 && !children.empty(); ++i)
|
||||
for (size_t i = 0; i < 1000 && !children_span.empty(); ++i)
|
||||
{
|
||||
removeRecursive(zookeeper, fs::path(path) / children.back());
|
||||
removeRecursive(zookeeper, fs::path(path) / children_span.back());
|
||||
ops.emplace_back(zkutil::makeRemoveRequest(fs::path(path) / children_span.back(), -1));
|
||||
children_span = children_span.subspan(0, children_span.size() - 1);
|
||||
}
|
||||
|
@ -18,8 +18,7 @@ connections:
|
||||
|
||||
host: "localhost:9181"
|
||||
|
||||
generator:
|
||||
setup:
|
||||
setup:
|
||||
node:
|
||||
name: "test3"
|
||||
node:
|
||||
@ -57,6 +56,8 @@ generator:
|
||||
node:
|
||||
name: "test2"
|
||||
data: "somedata"
|
||||
|
||||
generator:
|
||||
requests:
|
||||
create:
|
||||
path: "/test_create"
|
||||
|
Loading…
Reference in New Issue
Block a user