Skip to content

Commit

Permalink
Fix comment on beforeIndexShardClosed
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Handalian <[email protected]>
  • Loading branch information
mch2 committed Apr 3, 2024
1 parent 66ede03 commit ce239f7
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 {

/**
*
* After a primary shard is closed, cancel any ongoing replications to release incref'd segments.
* Before 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 ce239f7

Please sign in to comment.