Skip to content

Commit

Permalink
storage_service: Wait for normal state handler to finish in replace
Browse files Browse the repository at this point in the history
Similar to "storage_service: Wait for normal state handler to finish in
bootstrap", this patch enables the check on the replace procedure.
  • Loading branch information
asias committed Feb 28, 2023
1 parent 5363616 commit 5856e69
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions service/storage_service.cc
Expand Up @@ -2293,6 +2293,7 @@ void storage_service::run_replace_ops(std::unordered_set<token>& bootstrap_token
sync_nodes.push_back(node);
}
}
wait_for_normal_state_handled_on_boot(sync_nodes, "replace", uuid).get();
sync_nodes.push_front(get_broadcast_address());
auto sync_nodes_generations = _gossiper.get_generation_for_nodes(sync_nodes).get();
// Map existing nodes to replacing nodes
Expand Down

0 comments on commit 5856e69

Please sign in to comment.