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,45 +18,46 @@ connections:
|
|||||||
|
|
||||||
host: "localhost:9181"
|
host: "localhost:9181"
|
||||||
|
|
||||||
generator:
|
setup:
|
||||||
setup:
|
node:
|
||||||
|
name: "test3"
|
||||||
|
node:
|
||||||
|
name: "test_create"
|
||||||
|
node:
|
||||||
|
name: "test4"
|
||||||
|
node:
|
||||||
|
name: "test"
|
||||||
|
data: "somedata"
|
||||||
node:
|
node:
|
||||||
name: "test3"
|
repeat: 4
|
||||||
|
name:
|
||||||
|
random_string:
|
||||||
|
size: 15
|
||||||
|
data:
|
||||||
|
random_string:
|
||||||
|
size:
|
||||||
|
min_value: 10
|
||||||
|
max_value: 20
|
||||||
node:
|
node:
|
||||||
name: "test_create"
|
repeat: 2
|
||||||
node:
|
|
||||||
name: "test4"
|
|
||||||
node:
|
|
||||||
name: "test"
|
|
||||||
data: "somedata"
|
|
||||||
node:
|
|
||||||
repeat: 4
|
|
||||||
name:
|
|
||||||
random_string:
|
|
||||||
size: 15
|
|
||||||
data:
|
|
||||||
random_string:
|
|
||||||
size:
|
|
||||||
min_value: 10
|
|
||||||
max_value: 20
|
|
||||||
node:
|
node:
|
||||||
repeat: 2
|
repeat: 2
|
||||||
node:
|
|
||||||
repeat: 2
|
|
||||||
name:
|
|
||||||
random_string:
|
|
||||||
size: 12
|
|
||||||
name:
|
name:
|
||||||
random_string:
|
random_string:
|
||||||
size: 15
|
size: 12
|
||||||
data:
|
name:
|
||||||
random_string:
|
random_string:
|
||||||
size:
|
size: 15
|
||||||
min_value: 10
|
data:
|
||||||
max_value: 20
|
random_string:
|
||||||
node:
|
size:
|
||||||
name: "test2"
|
min_value: 10
|
||||||
data: "somedata"
|
max_value: 20
|
||||||
|
node:
|
||||||
|
name: "test2"
|
||||||
|
data: "somedata"
|
||||||
|
|
||||||
|
generator:
|
||||||
requests:
|
requests:
|
||||||
create:
|
create:
|
||||||
path: "/test_create"
|
path: "/test_create"
|
||||||
|
Loading…
Reference in New Issue
Block a user