Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v22.3.x] Raise recovery rate in partition balancer test #7966

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tests/rptest/tests/partition_balancer_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def __init__(self, ctx, *args, **kwargs):
"partition_autobalancing_mode": "continuous",
"partition_autobalancing_node_availability_timeout_sec": 10,
"partition_autobalancing_tick_interval_ms": 5000,
"raft_learner_recovery_rate": 1_000_000,
"raft_learner_recovery_rate": 100_000_000,
},
**kwargs,
)
Expand Down Expand Up @@ -744,7 +744,7 @@ def entered_maintenance_mode(node):
rpk.cluster_maintenance_disable(node)
# use raw admin interface to avoid waiting for the killed node
admin.patch_cluster_config(
{"raft_learner_recovery_rate": 1_000_000})
{"raft_learner_recovery_rate": 100_000_000})

if kill_same_node:
self.wait_until_ready()
Expand Down Expand Up @@ -837,7 +837,7 @@ def started_draining():
self.logger.info("bringing back recovery speed")
# use raw admin interface to avoid waiting for the killed node
admin.patch_cluster_config(
{"raft_learner_recovery_rate": 1_000_000})
{"raft_learner_recovery_rate": 100_000_000})

# Check that the node has been successfully decommissioned.
# We have to bring back failed node because otherwise decommission won't finish.
Expand Down