HoustonPutman commented on a change in pull request #414: URL: https://github.com/apache/solr/pull/414#discussion_r750559742
########## File path: solr/core/src/java/org/apache/solr/cloud/api/collections/ReplaceNodeCmd.java ########## @@ -115,7 +119,7 @@ public void call(ClusterState state, ZkNodeProps message, NamedList<Object> resu .assignNrtReplicas(numNrtReplicas) .assignTlogReplicas(numTlogReplicas) .assignPullReplicas(numPullReplicas) - .onNodes(new ArrayList<>(ccc.getSolrCloudManager().getClusterStateProvider().getLiveNodes())) + .onNodes(ccc.getSolrCloudManager().getClusterStateProvider().getLiveNodes().stream().filter(node -> !node.equals(source)).collect(Collectors.toList())) Review comment: have to remove the whole try{} as well, will do. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org