OpenSearch/server
Jim Ferenczi 3b9f530839
Inc store reference before refresh (#28656)
If a tragic even happens while we are refreshing a searcher/reader the engine can open new files on a store that is already closed
For instance the following CI job failed because a merge was concurrently called on a failing shard:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+oracle-java10-periodic/84
This change increments the ref count of the store during a refresh in order to postpone the closing after a tragic event.
2018-02-13 15:38:02 +01:00
..
cli
licenses Introduce secure security manager to project 2018-01-31 18:23:28 -05:00
src Inc store reference before refresh (#28656) 2018-02-13 15:38:02 +01:00
build.gradle Introduce secure security manager to project 2018-01-31 18:23:28 -05:00