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 Mar 5, 2024
1 parent b4644a5 commit 8687594
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 8687594

Please sign in to comment.