doc
This commit is contained in:
parent
c96014bb90
commit
761639150d
|
@ -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) {
|
@Override protected GroupShardsIterator shards(GatewaySnapshotRequest request, ClusterState clusterState) {
|
||||||
return clusterState.routingTable().primaryShardsGrouped(request.indices());
|
return clusterState.routingTable().primaryShardsGrouped(request.indices());
|
||||||
|
|
Loading…
Reference in New Issue