return new QueryAck(slaveState, iterations, expectedSize.get());
}
@Override
public StageResult processAckOnMaster(List<DistStageAck> acks) {
StageResult result = super.processAckOnMaster(acks);
if (result.isError()) return result;
int minSize = Integer.MAX_VALUE, maxSize = Integer.MIN_VALUE;
Map<Integer, Report.SlaveResult> slaveResults = new HashMap<Integer, Report.SlaveResult>();
for (QueryAck ack : Projections.instancesOf(acks, QueryAck.class)) {
if (maxSize >= 0 && (minSize != ack.queryResultSize || maxSize != ack.queryResultSize)) {