Skip to content

Commit

Permalink
cluster: allow node to join if address is used
Browse files Browse the repository at this point in the history
  • Loading branch information
andrwng committed Oct 6, 2022
1 parent 59d5a7f commit 8aa8c7d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/v/cluster/members_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -756,15 +756,6 @@ members_manager::handle_join_request(join_node_request const req) {
});
}

if (_raft0->config().contains_address(req.node.rpc_address())) {
vlog(
clusterlog.info,
"Broker {} address ({}) conflicts with the address of another "
"node",
req.node.id(),
req.node.rpc_address());
co_return ret_t(join_node_reply{false, model::node_id(-1)});
}
if (req.node.id() != _self.id()) {
co_await update_broker_client(
_self.id(),
Expand Down

0 comments on commit 8aa8c7d

Please sign in to comment.