OpenSearch/x-pack/plugin
David Turner 6ffdb19a2a Clean searchable snapshots cache on startup (#59009)
Today we empty the searchable snapshots cache when cleanly closing a
shard, but leak cache files in some cases involving an unclean shutdown.
Such leaks are not permanent, they are cleaned up on shard relocation or
deletion, but they still might last for arbitrarily long until that
happens. This commit introduces a cleanup process that runs during node
startup to catch such leaks sooner.

Also, today we permit searchable snapshots to be held on custom data
paths, and store the corresponding cache files within the custom
location. Supporting this feature would make the cleanup process
significantly more complicated since it would require each node to parse
the index metadata for the shards it held before shutdown. Yet, this
feature is undocumented and offers minimal benefits to searchable
snapshots. Therefore with this commit we forbid custom data paths for
searchable snapshot shards.
2020-07-08 15:17:52 +01:00
..
analytics Improve cardinality measure used to build aggs (#56533) (#59107) 2020-07-08 08:42:23 -04:00
async [7.x] EQL: Adds an ability to execute an asynchronous EQL search (#58192) 2020-06-25 14:11:57 -04:00
async-search Improve cardinality measure used to build aggs (#56533) (#59107) 2020-07-08 08:42:23 -04:00
autoscaling 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
ccr Sending operations concurrently in peer recovery (#58018) 2020-07-07 22:03:31 -04:00
core Clean searchable snapshots cache on startup (#59009) 2020-07-08 15:17:52 +01:00
deprecation [7.x] Add include_data_streams flag for authorization (#59008) 2020-07-03 12:58:39 -05:00
enrich 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
eql EQL: Fix bug in skipping window (#59196) 2020-07-08 14:36:39 +03:00
frozen-indices MappedFieldType should not extend FieldType (#58160) 2020-06-16 16:56:43 +01:00
graph 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
identity-provider Treat roles as a SortedSet (#58988) 2020-07-03 13:40:58 +10:00
ilm [7.9] GET data stream API returns additional information (#59128) (#59177) 2020-07-07 20:30:09 +01:00
logstash Remove deprecated usage of testCompile configuration (#57921) (#58083) 2020-06-14 22:30:44 +02:00
mapper-constant-keyword Field capabilities - make `keyword` a family of field types (#58315) (#58483) 2020-06-24 12:32:14 +01:00
mapper-flattened Move MappedFieldType#getSearchAnalyzer and #getSearchQuoteAnalyzer to TextSearchInfo (#58830) 2020-07-01 14:52:14 +01:00
ml [7.x] [ML] prefer secondary auth headers on evaluate (#59167) (#59183) 2020-07-07 15:34:47 -04:00
monitoring Split license allowed checks into two types (#58704) (#58797) 2020-07-01 07:11:05 -07:00
ql EQL: Obey size request parameter (#59014) 2020-07-06 19:14:25 +03:00
rollup Deduplicate Empty InternalAggregations (#58386) (#59032) 2020-07-04 14:02:16 +02:00
search-business-rules Unify dependency licenses task configuration (#58116) (#58274) 2020-06-18 08:15:50 +02:00
searchable-snapshots Clean searchable snapshots cache on startup (#59009) 2020-07-08 15:17:52 +01:00
security Even more robust test for API key auth 429 response (#59159) (#59208) 2020-07-08 16:43:07 +10:00
spatial Improve cardinality measure used to build aggs (#56533) (#59107) 2020-07-08 08:42:23 -04:00
sql Remove misc dependency related deprecation warnings (7.x backport) (#59122) 2020-07-07 17:10:31 +02:00
src/test Add basic searchable snapshots usage information (#58828) (#59160) 2020-07-08 13:09:29 +02:00
stack [7.9] GET data stream API returns additional information (#59128) (#59177) 2020-07-07 20:30:09 +01:00
transform Split license allowed checks into two types (#58704) (#58797) 2020-07-01 07:11:05 -07:00
vectors Add text search information to MappedFieldType (#58230) (#58432) 2020-06-23 14:37:26 +01:00
voting-only-node Introduce node.roles setting (#58512) 2020-06-25 14:14:51 -04:00
watcher 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00
wildcard Move MappedFieldType#getSearchAnalyzer and #getSearchQuoteAnalyzer to TextSearchInfo (#58830) 2020-07-01 14:52:14 +01:00
build.gradle 7.x - Create plugin for yamlTest task (#56841) (#59090) 2020-07-06 14:16:26 -05:00