Close Translog trimming task when IndexService is closed

Relates to https://github.com/elastic/elasticsearch/pull/25622
This commit is contained in:
Boaz Leskes 2017-07-10 14:40:23 +02:00
parent b5521872bb
commit e93e10f93b
1 changed files with 1 additions and 1 deletions

View File

@ -268,7 +268,7 @@ public class IndexService extends AbstractIndexComponent implements IndicesClust
}
}
} finally {
IOUtils.close(bitsetFilterCache, indexCache, indexFieldData, mapperService, refreshTask, fsyncTask);
IOUtils.close(bitsetFilterCache, indexCache, indexFieldData, mapperService, refreshTask, fsyncTask, trimTranslogTask);
}
}
}