OpenSearch/test
Nhat Nguyen 262d3c0783
Allow engine to recover from translog upto a seqno (#33032)
This change allows an engine to recover from its local translog up to
the given seqno. The extended API can be used in these use cases:

When a replica starts following a new primary, it resets its index to
the safe commit, then replays its local translog up to the current
global checkpoint (see #32867).

When a replica starts a peer-recovery, it can initialize the
start_sequence_number to the persisted global checkpoint instead of the
local checkpoint of the safe commit. A replica will then replay its
local translog up to that global checkpoint before accepting remote
translog from the primary. This change will increase the chance of
operation-based recovery. I will make this in a follow-up.

Relates #32867
2018-08-22 07:57:44 -04:00
..
fixtures Test: Fix forbidden uses in test framework (#32824) 2018-08-14 11:35:09 -07:00
framework Allow engine to recover from translog upto a seqno (#33032) 2018-08-22 07:57:44 -04:00
logger-usage Run forbidden api checks with runtimeJavaVersion (#32947) 2018-08-22 09:05:22 +03:00
build.gradle Test: Fix forbidden uses in test framework (#32824) 2018-08-14 11:35:09 -07:00