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 Apr 2, 2024
1 parent 5ca44ee commit 66ede03
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 beforeIndexShardClosed(ShardId shardId, @Nullable IndexShard indexShard, Settings indexSettings) {
Expand Down

0 comments on commit 66ede03

Please sign in to comment.