This commit is contained in:
kimchy 2010-09-23 19:03:48 +02:00
parent c96014bb90
commit 761639150d
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ public class TransportGatewaySnapshotAction extends TransportBroadcastOperationA
}
/**
* The refresh request works against *all* shards.
* The snapshot request works against all primary shards.
*/
@Override protected GroupShardsIterator shards(GatewaySnapshotRequest request, ClusterState clusterState) {
return clusterState.routingTable().primaryShardsGrouped(request.indices());