Skip to content

Commit

Permalink
Close Translog trimming task when IndexService is closed
Browse files Browse the repository at this point in the history
Relates to #25622
  • Loading branch information
bleskes committed Jul 10, 2017
1 parent b552187 commit e93e10f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -268,7 +268,7 @@ public synchronized void close(final String reason, boolean delete) throws IOExc
}
}
} finally {
IOUtils.close(bitsetFilterCache, indexCache, indexFieldData, mapperService, refreshTask, fsyncTask);
IOUtils.close(bitsetFilterCache, indexCache, indexFieldData, mapperService, refreshTask, fsyncTask, trimTranslogTask);
}
}
}
Expand Down

0 comments on commit e93e10f

Please sign in to comment.