OpenSearch/x-pack/plugin/frozen-indices/src
David Turner be60d50452 Allow searching of snapshot taken while indexing (#55511)
Today a read-only engine requires a complete history of operations, in the
sense that its local checkpoint must equal its maximum sequence number. This is
a valid check for read-only engines that were obtained by closing an index
since closing an index waits for all in-flight operations to complete. However
a snapshot may not have this property if it was taken while indexing was
ongoing, but that's ok.

This commit weakens the check for a complete history to exclude the case of a
searchable snapshot.

Relates #50999
2020-04-21 13:21:38 +01:00
..
main/java/org/elasticsearch Allow searching of snapshot taken while indexing (#55511) 2020-04-21 13:21:38 +01:00
test/java/org/elasticsearch/index/engine Allow searching of snapshot taken while indexing (#55511) 2020-04-21 13:21:38 +01:00