Skip to content

Commit

Permalink
Fix comment for afterIndexShardClosed method.
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <[email protected]>
  • Loading branch information
mch2 committed Jan 30, 2024
1 parent bac700d commit fe0d6b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ protected void doClose() throws IOException {

/**
*
* Cancels any replications on this node to a replica shard that is about to be closed.
* After a primary shard is closed, cancel any ongoing replications to release incref'd segments.
*/
@Override
public void afterIndexShardClosed(ShardId shardId, @Nullable IndexShard indexShard, Settings indexSettings) {
Expand Down

0 comments on commit fe0d6b1

Please sign in to comment.