-
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
fix compiler warning and base blob path case for searchable snapshots #6558
Conversation
Gradle Check (Jenkins) Run Completed with:
|
@samuel-oci Thanks for the contribution. More on that here. |
Gradle Check (Jenkins) Run Completed with:
|
710ec2c
to
90ed8ff
Compare
Gradle Check (Jenkins) Run Completed with:
|
Hi @kotwanikunal thanks for the feedback, done. |
@samuel-oci This LGTM! |
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.
Looks great, thanks @samuel-oci!
I actually think it makes sense to add a changelog entry here for "Add 'base_path' setting to File System Repository" since this is a user-facing feature. @kotwanikunal what do you think?
@@ -193,7 +193,7 @@ public void testAllocationWithDisruption() throws Exception { | |||
|
|||
/** | |||
* Utility method which ensures cluster has balanced primary shard distribution across a single index. | |||
* @throws Exception | |||
* @throws Exception exception |
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.
Just an FYI, if you've been getting javadoc warnings/failures in the tests, it might be due to building with JDK 14. The javadoc rules are supposed to be ignored for tests, but JDK-14 doesn't seem to do the right thing, though it has been end-of-life for quite awhile now.
Ahh. Yep. I think since we have a new setting for |
Signed-off-by: Samuel Herman <sherman8915@gmail.com>
90ed8ff
to
94e3be3
Compare
Gradle Check (Jenkins) Run Completed with:
|
Unrelated failure due to heap space usage. |
Gradle Check (Jenkins) Run Completed with:
|
Thanks for your comments @kotwanikunal @andrross , added a |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-6558-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8c0e5d0c680f51ecea82468c622508bda510cc26
# Push it to GitHub
git push --set-upstream origin backport/backport-6558-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/backport-2.x
# Create a new branch
git switch --create backport/backport-6558-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 8c0e5d0c680f51ecea82468c622508bda510cc26
# Push it to GitHub
git push --set-upstream origin backport/backport-6558-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/backport-2.x Then, create a pull request where the |
Signed-off-by: Samuel Herman <sherman8915@gmail.com> Co-authored-by: Samuel Herman <samuelherman@Samuels-MBP.MG8702> (cherry picked from commit 8c0e5d0)
Backport: #6584 |
Signed-off-by: Samuel Herman <sherman8915@gmail.com> Co-authored-by: Samuel Herman <samuelherman@Samuels-MBP.MG8702> (cherry picked from commit 8c0e5d0) Signed-off-by: Kunal Kotwani <kkotwani@amazon.com>
* Implement equals/hashcode for named DocValueFormat inner classes (#6357) Signed-off-by: Bryan Burkholder <bburkholder@slack-corp.com> (cherry picked from commit 5a7fd4f) Signed-off-by: Kunal Kotwani <kkotwani@amazon.com> * Fix compiler warning and base blob path case (#6558) Signed-off-by: Samuel Herman <sherman8915@gmail.com> Co-authored-by: Samuel Herman <samuelherman@Samuels-MBP.MG8702> (cherry picked from commit 8c0e5d0) Signed-off-by: Kunal Kotwani <kkotwani@amazon.com> --------- Signed-off-by: Bryan Burkholder <bburkholder@slack-corp.com> Signed-off-by: Kunal Kotwani <kkotwani@amazon.com> Signed-off-by: Samuel Herman <sherman8915@gmail.com> Co-authored-by: Bryan Burkholder <771133+bryanlb@users.noreply.github.com> Co-authored-by: samuel-oci <97131656+samuel-oci@users.noreply.github.com> Co-authored-by: Samuel Herman <samuelherman@Samuels-MBP.MG8702>
Signed-off-by: Samuel Herman <sherman8915@gmail.com> Co-authored-by: Samuel Herman <samuelherman@Samuels-MBP.MG8702> Signed-off-by: Mingshi Liu <mingshl@amazon.com>
Description
Fixing base blob path scenario for searchable snapshots
Issues Resolved
Closes #6557
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.