OpenSearch/qa
Nhat Nguyen 33204c2055 Use peer recovery retention leases for indices without soft-deletes (#50351)
Today, the replica allocator uses peer recovery retention leases to
select the best-matched copies when allocating replicas of indices with
soft-deletes. We can employ this mechanism for indices without
soft-deletes because the retaining sequence number of a PRRL is the
persisted global checkpoint (plus one) of that copy. If the primary and
replica have the same retaining sequence number, then we should be able
to perform a noop recovery. The reason is that we must be retaining
translog up to the local checkpoint of the safe commit, which is at most
the global checkpoint of either copy). The only limitation is that we
might not cancel ongoing file-based recoveries with PRRLs for noop
recoveries. We can't make the translog retention policy comply with
PRRLs. We also have this problem with soft-deletes if a PRRL is about to
expire.

Relates #45136
Relates #46959
2019-12-23 22:04:07 -05:00
..
ccs-unavailable-clusters Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
die-with-dignity Remove Awaitsfix that seems outdated (#49764) 2019-12-03 10:24:55 +01:00
evil-tests Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
full-cluster-restart Use peer recovery retention leases for indices without soft-deletes (#50351) 2019-12-23 22:04:07 -05:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
multi-cluster-search Backport remote proxy mode stats and naming (#50402) 2019-12-19 18:02:48 -07:00
no-bootstrap-tests Spawn controller processes from a different directory on macOS (#47013) 2019-09-27 14:02:40 +01:00
os Handle renaming the README (#50404) (#50406) 2019-12-19 18:55:38 -05:00
rolling-upgrade Use peer recovery retention leases for indices without soft-deletes (#50351) 2019-12-23 22:04:07 -05:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-with-all-dependencies Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-multinode Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-plugins Testclusters: convert left-overs from checkPart1 (#43370) 2019-06-25 19:14:45 +03:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
wildfly Dump wildfly log on start failure (#49892) 2019-12-06 15:55:01 -08:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00