-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Merge feature/searchable-snapshots branch into 7.x (#54803) #54825
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
Conversation
This commit merges the searchable-snapshots feature branch into master. See elastic#54803 for the complete list of squashed commits. Co-authored-by: David Turner <[email protected]> Co-authored-by: Yannick Welsch <[email protected]> Co-authored-by: Lee Hinman <[email protected]> Co-authored-by: Andrei Dan <[email protected]>
Pinging @elastic/es-distributed (:Distributed/Snapshot/Restore) |
} | ||
|
||
public DeleteAction(StreamInput in) throws IOException { | ||
if (in.getVersion().onOrAfter(Version.V_7_8_0)) { |
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.
@andreidan Version has been adjusted here
} | ||
|
||
@Override | ||
public void writeTo(StreamOutput out) throws IOException { | ||
if (out.getVersion().onOrAfter(Version.V_7_8_0)) { |
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.
@andreidan Version has been adjusted here
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 @tlrx
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.
I left a question about the loss of a feature flag conditional.
I'm also concerned about the number of deviations away from List.of
-- I think this will make backporting future work much harder. Could you try and bring these more in line between the branches, ideally with import org.elasticsearch.common.collect.List
rather than using the fully-qualified name inline?
...snapshots/src/main/java/org/elasticsearch/xpack/searchablesnapshots/SearchableSnapshots.java
Outdated
Show resolved
Hide resolved
@DaveCTurner Thanks for your feedback. I tried to minimize the deviations away from |
Ugh, right, I see, if we also import |
LGTM, thanks @tlrx and @andreidan |
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.
LGTM, great feature @tlrx @DaveCTurner
Thanks David and Andrei! |
This commit adjusts some versions on master now searchable snapshots has been backported to 7.x in #54825.
This fixes the version checks to use 7.8.0 instead of 8.0.0 since the changes in elastic#54825 were backported to the 7.x branch.
This fixes the version checks to use 7.8.0 instead of 8.0.0 since the changes in #54825 were backported to the 7.x branch.
This is a backport of #54803 for
7.x
.This pull request cherry picks the squashed commit from #54803 with the additional commits: