Skip to content

Commit

Permalink
Merge pull request #4775 from mmaslankaprv/two-phase-group-processing…
Browse files Browse the repository at this point in the history
…-follow-up

Two phase group processing follow up
  • Loading branch information
dotnwat committed May 25, 2022
2 parents 8c37f41 + ef051a5 commit 33167b4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/v/config/configuration.cc
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ configuration::configuration()
"group_initial_rebalance_delay",
"Extra delay (ms) added to rebalance phase to wait for new members",
{.needs_restart = needs_restart::no, .visibility = visibility::tunable},
300ms)
3s)
, group_new_member_join_timeout(
*this,
"group_new_member_join_timeout",
Expand Down
5 changes: 3 additions & 2 deletions src/v/kafka/server/group_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ group::join_group_stages group_manager::join_group(join_group_request&& r) {

auto ret = group->handle_join_group(std::move(r), is_new_group);
return group::join_group_stages(
std::move(ret.dispatched), ret.result.finally([group] {}));
ret.dispatched.finally([group] {}), ret.result.finally([group] {}));
}

group::sync_group_stages group_manager::sync_group(sync_group_request&& r) {
Expand All @@ -580,7 +580,8 @@ group::sync_group_stages group_manager::sync_group(sync_group_request&& r) {
if (group) {
auto stages = group->handle_sync_group(std::move(r));
return group::sync_group_stages(
std::move(stages.dispatched), stages.result.finally([group] {}));
stages.dispatched.finally([group] {}),
stages.result.finally([group] {}));
} else {
vlog(
klog.trace,
Expand Down
1 change: 1 addition & 0 deletions tests/rptest/tests/compacted_topic_verifier_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def __init__(self, test_context):
extra_rp_conf = dict(
log_compaction_interval_ms=2000,
compacted_log_segment_size=1048576,
group_initial_rebalance_delay=300,
)

super(CompactedTopicVerifierTest,
Expand Down
1 change: 1 addition & 0 deletions tests/rptest/tests/shadow_indexing_tx_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def __init__(self, test_context):
enable_transactions=True,
enable_leader_balancer=False,
enable_auto_rebalance_on_node_add=False,
group_initial_rebalance_delay=300,
)

si_settings = SISettings(cloud_storage_reconciliation_interval_ms=500,
Expand Down

0 comments on commit 33167b4

Please sign in to comment.