Skip to content

Commit 53ad877

Browse files
committed
Comment
1 parent 5eabc0f commit 53ad877

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/searchable-snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/allocation/SearchableSnapshotIndexEventListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public void beforeIndexRemoved(IndexService indexService, IndexRemovalReason rea
115115
}
116116
if (indexSettings.getIndexMetadata().isPartialSearchableSnapshot() && sharedBlobCacheService != null) {
117117
switch (reason) {
118-
// Shards we know are not coming back - we can evict asynchronously
118+
// This index was deleted, it's not coming back - we can evict asynchronously
119119
case DELETED -> sharedBlobCacheService.forceEvictAsync(
120120
SearchableSnapshots.forceEvictPredicate(shardId, indexSettings.getSettings())
121121
);

0 commit comments

Comments
 (0)