-
Notifications
You must be signed in to change notification settings - Fork 218
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
Searchable snapshots GA #504
Searchable snapshots GA #504
Conversation
This follows the announcement here https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.7.0.md This means the experimental flag only needs to be added if version is less than 2.7.0 Signed-off-by: Rhys Evans <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick improvement
@rhysxevans |
Signed-off-by: Rhys Evans <[email protected]>
if err == nil && ver1.LessThan(ver2) { | ||
lessThan = true | ||
} | ||
return lessThan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be written shorter:
if err == nil && ver1.LessThan(ver2) { | |
lessThan = true | |
} | |
return lessThan | |
return err == nil && ver1.LessThan(ver2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @swoehrl-mw, I have made the changes requested, please let me know if there is anything else
Signed-off-by: Rhys Evans <[email protected]>
This feature is GA In 2.7 https://opensearch.org/blog/searchable-snapshots/, should we consider removing the experimental flag? |
This PR already dealt with not using the feature flag for 2.7+. And as long as the operator also supports older opensearch versions we will need to keep the logic to add the feature flag. |
This follows the announcement here https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-2.7.0.md This means the experimental flag only needs to be added if version is less than 2.7.0