Skip to content

Commit

Permalink
Fork it over
Browse files Browse the repository at this point in the history
  • Loading branch information
jasontedor committed Sep 13, 2018
1 parent 669bd24 commit d4f8a98
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@ protected void asyncShardOperation(
final IndexShard indexShard = indexService.getShard(request.getShard().id());
final SeqNoStats seqNoStats = indexShard.seqNoStats();


if (request.getFromSeqNo() > seqNoStats.getGlobalCheckpoint()) {
assert request.getFromSeqNo() == 1 + seqNoStats.getGlobalCheckpoint();
indexShard.addGlobalCheckpointListener(
Expand All @@ -332,7 +331,7 @@ protected void asyncShardOperation(
},
request.getPollTimeout());
} else {
listener.onResponse(shardOperation(request, shardId));
super.asyncShardOperation(request, shardId, listener);
}
}

Expand Down

0 comments on commit d4f8a98

Please sign in to comment.