Skip to content

Commit e93e10f

Browse files
committed
Close Translog trimming task when IndexService is closed
Relates to #25622
1 parent b552187 commit e93e10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/elasticsearch/index/IndexService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ public synchronized void close(final String reason, boolean delete) throws IOExc
268268
}
269269
}
270270
} finally {
271-
IOUtils.close(bitsetFilterCache, indexCache, indexFieldData, mapperService, refreshTask, fsyncTask);
271+
IOUtils.close(bitsetFilterCache, indexCache, indexFieldData, mapperService, refreshTask, fsyncTask, trimTranslogTask);
272272
}
273273
}
274274
}

0 commit comments

Comments
 (0)