for (String node : nodes) {
List<String> nodeShards = node2ShardsMap.get(node);
OperationId operationId = protocol.addNodeOperation(node, new ShardUndeployOperation(nodeShards));
nodeOperationIds.add(operationId);
}
protocol.unpublishIndex(_indexName);
return nodeOperationIds;
}
@Override
public void nodeOperationsComplete(MasterContext context, List<OperationResult> results) throws Exception {