OpenSearch/x-pack/plugin/ccr/qa/multi-cluster
Simon Willnauer 5c6711b8a4
Use a `_recovery_source` if source is omitted or modified (#31106)
Today if a user omits the `_source` entirely or modifies the source
on indexing we have no chance to re-create the document after it has
been added. This is an issue for CCR and recovery based on soft deletes
which we are going to make the default. This change adds an additional
recovery source if the source is disabled or modified that is only kept
around until the document leaves the retention policy window.

This change adds a merge policy that efficiently removes this extra source
on merge for all document that are live and not in the retention policy window
anymore.
2018-06-07 07:39:28 +02:00
..
src/test/java/org/elasticsearch/xpack/ccr Use a `_recovery_source` if source is omitted or modified (#31106) 2018-06-07 07:39:28 +02:00
build.gradle Applying changes required for ccr after moving ccr code to elasticsearch 2018-04-25 08:03:29 +02:00