-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhance searchable snapshots to enable a read-only view of older snapshots #5429
Commits on Jan 4, 2023
-
Enhance searchable snapshots to enable a read-only view of older snap…
…shots This change removes the guardrails around N-1 backward compatibility and uses Lucene's "expert" APIs to read snapshots (Lucene segments) older than N-1 on a best-effort basis. The functionality is gated by an additional feature flag, separate from the searchable snapshots flag. Note that the Lucene integration is rather inefficient because the necessary "expert" Lucene APIs are still package-private. Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 5d4acf6 - Browse repository at this point
Copy the full SHA 5d4acf6View commit details -
This change also includes a test index ZIP file for the unit tests. The change also introduces a bug fix in the readAnySegmentsInfo method to close the reader before returning the SegmentInfos object - this avoids dangling/open file handles. Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for f4f1648 - Browse repository at this point
Copy the full SHA f4f1648View commit details -
Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for d85174f - Browse repository at this point
Copy the full SHA d85174fView commit details -
Incorporate PR comments from andrross
Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for e5d8880 - Browse repository at this point
Copy the full SHA e5d8880View commit details -
Remove use of IndexSetting for minimum version for snapshots backward…
…s compatibility Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for a0eea5d - Browse repository at this point
Copy the full SHA a0eea5dView commit details -
Moved ES 6.3.0 test data to a subdirectory
This change also includes an update to the file name to clarify that it is an ES index, and changing the associated markdown file name to just README.md. All tests that reference this ZIP file have corresponding changes to the path they reference. Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 440b066 - Browse repository at this point
Copy the full SHA 440b066View commit details -
Update unit tests to use try-with-resources
Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 73a1429 - Browse repository at this point
Copy the full SHA 73a1429View commit details -
Added FeatureFlagSetter helper class
Also refactored unit test classes to use the helper class. Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 2006683 - Browse repository at this point
Copy the full SHA 2006683View commit details -
Incorporating PR feedback from @mch2
Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 4339244 - Browse repository at this point
Copy the full SHA 4339244View commit details -
Updated the asserts in IndexSettingsTests to account for the new defaulting behavior. Signed-off-by: Kartik Ganesh <gkart@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for 99b81ae - Browse repository at this point
Copy the full SHA 99b81aeView commit details