OpenSearch/client
David Turner 9ff320d967
Use index for peer recovery instead of translog (#45137)
Today we recover a replica by copying operations from the primary's translog.
However we also retain some historical operations in the index itself, as long
as soft-deletes are enabled. This commit adjusts peer recovery to use the
operations in the index for recovery rather than those in the translog, and
ensures that the replication group retains enough history for use in peer
recovery by means of retention leases.

Reverts #38904 and #42211
Relates #41536
Backport of #45136 to 7.x.
2019-08-02 15:00:43 +01:00
..
benchmark [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
client-benchmark-noop-api-plugin Return seq_no and primary_term in noop update (#44603) 2019-07-25 19:16:56 -04:00
rest Handle version parsing in RestClientBuilder (#44737) 2019-07-23 13:50:07 +03:00
rest-high-level Use index for peer recovery instead of translog (#45137) 2019-08-02 15:00:43 +01:00
sniffer [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
test [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00
transport [Backport] Remove dependency substitutions 7.x (#42866) 2019-06-04 13:50:23 -07:00