Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
applying spotlessApply
Browse files Browse the repository at this point in the history
Signed-off-by: Rishikesh1159 <rishireddy1159@gmail.com>
Rishikesh1159 committed Jun 15, 2022
1 parent 27173d6 commit d585645
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -94,7 +94,10 @@ public void beforeIndexShardClosed(ShardId shardId, @Nullable IndexShard indexSh
*/
public synchronized void onNewCheckpoint(final ReplicationCheckpoint requestCheckpoint, final IndexShard indexShard) {
if (onGoingReplications.isShardReplicating(indexShard.shardId())) {
logger.trace("Ignoring new replication checkpoint - shard is currently replicating to checkpoint {}", indexShard.getLatestReplicationCheckpoint());
logger.trace(
"Ignoring new replication checkpoint - shard is currently replicating to checkpoint {}",
indexShard.getLatestReplicationCheckpoint()
);
return;
}
if (indexShard.shouldProcessCheckpoint(requestCheckpoint)) {

0 comments on commit d585645

Please sign in to comment.