OpenSearch/docs/reference/indices
Boaz Leskes f5d4550e93
Fold EngineDiskUtils into Store, for better lock semantics (#29156)
#28245 has introduced the utility class`EngineDiskUtils` with a set of methods to prepare/change
translog and lucene commit points. That util class bundled everything that's needed to create and
empty shard, bootstrap a shard from a lucene index that was just restored etc. 

In order to safely do these manipulations, the util methods acquired the IndexWriter's lock. That
would sometime fail due to concurrent shard store fetching or other short activities that require the
files not to be changed while they read from them. 

Since there is no way to wait on the index writer lock, the `Store` class has other locks to make
sure that once we try to acquire the IW lock, it will succeed. To side step this waiting problem, this
PR folds `EngineDiskUtils` into `Store`. Sadly this comes with a price - the store class doesn't and
shouldn't know about the translog. As such the logic is slightly less tight and callers have to do the
translog manipulations on their own.
2018-03-26 14:08:03 +02:00
..
aliases.asciidoc Remove usage of multi-types from the docs and added a page explaining type removal (#25543) 2017-07-05 12:30:19 +02:00
analyze.asciidoc Limit the number of tokens produced by _analyze (#27529) 2017-11-30 11:54:39 -05:00
clearcache.asciidoc
create-index.asciidoc Remove usage of multi-types from the docs and added a page explaining type removal (#25543) 2017-07-05 12:30:19 +02:00
delete-index.asciidoc [DOCS] delete index no longer supports specifying aliases 2017-06-19 10:30:05 +02:00
flush.asciidoc Fold EngineDiskUtils into Store, for better lock semantics (#29156) 2018-03-26 14:08:03 +02:00
forcemerge.asciidoc
get-field-mapping.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
get-index.asciidoc Remove comma-separated feature parsing for GetIndicesAction 2017-06-02 14:43:38 -06:00
get-mapping.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
get-settings.asciidoc CONSOLEify some more Indices APIs (#24375) 2017-05-01 13:56:39 -04:00
indices-exists.asciidoc documentation fix: index exists is ambiguous (#28460) 2018-02-01 13:22:32 -08:00
open-close.asciidoc Add wait_for_active_shards parameter to index open command (#26682) 2017-09-22 11:15:03 +02:00
put-mapping.asciidoc Reject updates to the `_default_` mapping. (#29165) 2018-03-21 10:44:11 +01:00
recovery.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
refresh.asciidoc Add CONSOLE to more docs 2016-09-01 17:08:18 -04:00
rollover-index.asciidoc Allow `_doc` as a type. (#27816) 2017-12-14 17:47:53 +01:00
segments.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
shard-stores.asciidoc [Docs] Convert more doc snippets (#26359) 2017-08-28 11:23:09 +02:00
shrink-index.asciidoc Switch more docs to CONSOLE 2016-09-02 18:22:30 -04:00
split-index.asciidoc Explain why Elasticsearch doesn't support incremental resharding. (#29082) 2018-03-16 16:50:58 +01:00
stats.asciidoc Switch more docs to CONSOLE 2016-09-02 18:22:30 -04:00
templates.asciidoc Reformat paragraph in template docs to 80 columns 2017-10-12 17:52:43 -04:00
types-exists.asciidoc
update-settings.asciidoc Docs: Add example of resetting index setting (#29048) 2018-03-19 20:04:58 -07:00