Skip to content

Commit 643fa8a

Browse files
committed
Update stale comment
1 parent e1de296 commit 643fa8a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core/src/main/java/org/elasticsearch/index/shard/IndexShard.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,8 +1619,7 @@ public void waitForOpsToComplete(final long seqNo) throws InterruptedException {
16191619
/**
16201620
* Marks the shard with the provided allocation ID as in-sync with the primary shard. See
16211621
* {@link org.elasticsearch.index.seqno.GlobalCheckpointTracker#markAllocationIdAsInSync(String, long)}
1622-
* for additional details. Because this operation could be completed asynchronously on another thread, the caller must provide a latch;
1623-
* this latch will be counted down after the operation completes.
1622+
* for additional details.
16241623
*
16251624
* @param allocationId the allocation ID of the shard to mark as in-sync
16261625
* @param localCheckpoint the current local checkpoint on the shard

0 commit comments

Comments
 (0)