OpenSearch/docs/reference
Boaz Leskes 033ba725af
Remove support for internal versioning for concurrency control (#38254)
Elasticsearch has long [supported](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-index_.html#index-versioning) compare and set (a.k.a optimistic concurrency control) operations using internal document versioning. Sadly that approach is flawed and can sometime do the wrong thing. Here's the relevant excerpt from the resiliency status page:

> When a primary has been partitioned away from the cluster there is a short period of time until it detects this. During that time it will continue indexing writes locally, thereby updating document versions. When it tries to replicate the operation, however, it will discover that it is partitioned away. It won’t acknowledge the write and will wait until the partition is resolved to negotiate with the master on how to proceed. The master will decide to either fail any replicas which failed to index the operations on the primary or tell the primary that it has to step down because a new primary has been chosen in the meantime. Since the old primary has already written documents, clients may already have read from the old primary before it shuts itself down. The version numbers of these reads may not be unique if the new primary has already accepted writes for the same document 

We recently [introduced](https://www.elastic.co/guide/en/elasticsearch/reference/6.x/optimistic-concurrency-control.html) a new sequence number based approach that doesn't suffer from this dirty reads problem. 

This commit removes support for internal versioning as a concurrency control mechanism in favor of the sequence number approach.

Relates to #1078
2019-02-05 20:53:35 +01:00
..
aggregations geotile_grid implementation (#37842) 2019-01-31 19:11:30 -05:00
analysis Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
cat Remove more include_type_name and types from docs (#37601) 2019-01-18 14:11:18 +01:00
ccr Docs test fix, wait for shards active. 2019-01-30 11:02:16 +01:00
cluster [DOCS] Adds overview and API ref for cluster voting configurations (#36954) 2019-01-07 09:11:14 -08:00
commands [DOCS] Update X-Pack terminology in security docs (#36564) 2018-12-19 14:53:37 -08:00
docs Remove more references to type in docs. (#37946) 2019-01-29 10:51:07 -08:00
graph Remove X-Pack centric graph endpoints (#36010) 2018-11-29 07:09:37 -05:00
how-to Remove remaining occurances of "include_type_name=true" in docs (#37646) 2019-01-22 15:13:52 +01:00
ilm add docs saying mixed-cluster ILM is not supported (#37954) 2019-02-04 17:00:40 -08:00
images Move ODBC documentation to `elasticsearch` repository (#36955) 2018-12-27 11:55:20 +02:00
index-modules Track total hits up to 10,000 by default (#37466) 2019-01-25 13:45:39 +01:00
indices Introduce retention leases versioning (#37951) 2019-02-01 17:19:19 -05:00
ingest Deprecate `_type` in simulate pipeline requests (#37949) 2019-02-04 16:11:44 -07:00
licensing [DOCS] Synchs titles of X-Pack APIs 2018-12-20 10:27:24 -08:00
mapping Add nanosecond field mapper (#37755) 2019-02-04 11:31:16 +01:00
migration Remove support for internal versioning for concurrency control (#38254) 2019-02-05 20:53:35 +01:00
ml [ML] Remove "8" prefixes from file structure finder timestamp formats (#38016) 2019-02-01 15:36:04 +00:00
modules Rename no-master-block setting (#38350) 2019-02-05 08:47:56 +00:00
monitoring Deprecate xpack.watcher.history.cleaner_service.enabled (#37782) 2019-01-24 15:31:31 -07:00
query-dsl Track total hits up to 10,000 by default (#37466) 2019-01-25 13:45:39 +01:00
release-notes [DOCS] Various spelling corrections (#37046) 2019-01-07 14:44:12 +01:00
rest-api Added ccr to xpack usage infrastructure (#37256) 2019-01-30 07:58:26 +01:00
rollup [DOCS] Edits rollup API description (#37444) 2019-01-15 08:46:36 -08:00
search Docs: Drop inline callout from scroll example (#38340) 2019-02-04 14:57:38 -05:00
security Rename static Zen1 settings (#38333) 2019-02-05 08:46:52 +00:00
settings Enable TLSv1.3 by default for JDKs with support (#38103) 2019-02-01 08:34:11 -07:00
setup Rename static Zen1 settings (#38333) 2019-02-05 08:46:52 +00:00
sql SQL: Implement CURRENT_DATE (#38175) 2019-02-05 18:15:26 +02:00
testing Uppercasing some docs section title (#37781) 2019-01-24 22:54:55 +01:00
upgrade [DOCS] Rolling upgrade with old internal indices (#37184) 2019-01-09 18:14:22 +02:00
aggregations.asciidoc [Docs] Update aggregations.asciidoc (#29265) 2018-03-28 15:01:45 +02:00
analysis.asciidoc Remove more include_type_name and types from docs (#37601) 2019-01-18 14:11:18 +01:00
api-conventions.asciidoc Document that date math is locale independent 2019-01-22 12:04:29 +01:00
cat.asciidoc Minor docs cleanup (#37595) 2019-01-18 09:28:48 +01:00
cluster.asciidoc [DOCS] Adds overview and API ref for cluster voting configurations (#36954) 2019-01-07 09:11:14 -08:00
docs.asciidoc Document Seq No powered optimistic concurrency control (#37284) 2019-01-11 07:59:15 -08:00
frozen-indices.asciidoc Expose `search.throttled` on `_cat/indices` (#37073) 2019-01-04 13:49:40 +01:00
getting-started.asciidoc Remove more references to type in docs. (#37946) 2019-01-29 10:51:07 -08:00
glossary.asciidoc Default to one shard (#30539) 2018-05-14 12:22:35 -04:00
gs-index.asciidoc [DOCS] Adding index file for GS "mini book". 2017-07-18 13:44:08 -07:00
how-to.asciidoc Correct grammar in list in how-to docs 2017-01-17 20:57:22 -05:00
index-modules.asciidoc ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
index.asciidoc Add a `_freeze` / `_unfreeze` API (#35592) 2018-11-20 08:03:24 +01:00
index.x.asciidoc [DOCS] Removes redundant index.asciidoc files (#30707) 2018-05-18 11:05:40 -07:00
indices.asciidoc add split index reference in indices.asciidoc 2017-11-06 12:55:41 +01:00
ingest.asciidoc ingest: document index.default_pipeline (#34500) 2018-10-23 13:49:25 -05:00
mapping.asciidoc Fix duplicate note x-refs in mapping.asciidoc (#37904) 2019-01-28 09:29:07 +00:00
modules.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
query-dsl.asciidoc Update query-dsl.asciidoc (#27669) 2017-12-11 18:06:08 +01:00
redirects.asciidoc [Zen2] Update documentation for Zen2 (#34714) 2018-12-20 13:02:44 +00:00
release-notes.asciidoc [DOCS] Adds placeholder for alpha2 release notes 2018-12-11 14:26:41 -08:00
search.asciidoc Make sure to use the type _doc in the REST documentation. (#34662) 2018-10-22 11:54:04 -07:00
setup.asciidoc [DOCS] Intro for adding nodes (#37202) 2019-01-15 11:11:01 -08:00
testing.asciidoc [Docs] Unify spelling of Elasticsearch (#27567) 2017-11-29 09:44:25 +01:00
upgrade.asciidoc Revert "[DOCS] Added 6.3 info & updated the upgrade table. (#30940)" 2018-06-11 22:04:36 -04:00