mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-28 10:31:57 +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())
|
while (!children_span.empty())
|
||||||
{
|
{
|
||||||
Coordination::Requests ops;
|
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));
|
ops.emplace_back(zkutil::makeRemoveRequest(fs::path(path) / children_span.back(), -1));
|
||||||
children_span = children_span.subspan(0, children_span.size() - 1);
|
children_span = children_span.subspan(0, children_span.size() - 1);
|
||||||
}
|
}
|
||||||
|
@ -18,8 +18,7 @@ connections:
|
|||||||
|
|
||||||
host: "localhost:9181"
|
host: "localhost:9181"
|
||||||
|
|
||||||
generator:
|
setup:
|
||||||
setup:
|
|
||||||
node:
|
node:
|
||||||
name: "test3"
|
name: "test3"
|
||||||
node:
|
node:
|
||||||
@ -57,6 +56,8 @@ generator:
|
|||||||
node:
|
node:
|
||||||
name: "test2"
|
name: "test2"
|
||||||
data: "somedata"
|
data: "somedata"
|
||||||
|
|
||||||
|
generator:
|
||||||
requests:
|
requests:
|
||||||
create:
|
create:
|
||||||
path: "/test_create"
|
path: "/test_create"
|
||||||
|
Loading…
Reference in New Issue
Block a user