OpenSearch/server
Nhat Nguyen 095f31b80e
Replica start peer recovery with safe commit (#28181)
Today a replica starts a peer-recovery with the last commit. If the last
commit is not a safe commit, a replica will immediately fallback to the
file based sync which is more expensive than the sequence based
recovery. This commit modifies the peer-recovery in replica to start
with a safe commit. Moreover we can keep the existing translog on the
target if the recovery is sequence based recovery.

Relates #10708
2018-01-12 19:09:31 -05:00
..
cli Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00
licenses Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00
src Replica start peer recovery with safe commit (#28181) 2018-01-12 19:09:31 -05:00
build.gradle Rename core module to server (#28180) 2018-01-11 11:30:43 -07:00