-
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 NPE on restore searchable snapshot #13911
Conversation
Signed-off-by: panguixin <[email protected]>
@andrross @kotwanikunal please help to take a look when you get a chance |
❌ Gradle check result for 60580f6: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
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 @bugmakerrrrrr!
Let's add a changelog entry for this fix. Also it looks like there are spotless failures.
server/src/main/java/org/opensearch/cluster/metadata/IndexMetadata.java
Outdated
Show resolved
Hide resolved
Signed-off-by: panguixin <[email protected]>
...er/src/main/java/org/opensearch/cluster/routing/allocation/decider/DiskThresholdDecider.java
Show resolved
Hide resolved
❌ Gradle check result for f29bf75: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Looks like this failure might be related to this change?
|
Signed-off-by: panguixin <[email protected]>
❌ Gradle check result for f8b1083: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
Signed-off-by: Andrew Ross <[email protected]>
❕ Gradle check result for ed66558: UNSTABLE Please review all flaky tests that succeeded after retry and create an issue if one does not already exist to track the flaky failure. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13911 +/- ##
============================================
+ Coverage 71.42% 71.57% +0.14%
- Complexity 59978 61287 +1309
============================================
Files 4985 5065 +80
Lines 282275 288101 +5826
Branches 40946 41716 +770
============================================
+ Hits 201603 206195 +4592
- Misses 63999 64821 +822
- Partials 16673 17085 +412 ☔ View full report in Codecov by Sentry. |
Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]> (cherry picked from commit 9a87624) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Fix NPE on restore searchable snapshot (#13911) Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]> (cherry picked from commit 9a87624) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Add constant for compatiblity Signed-off-by: Andrew Ross <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Andrew Ross <[email protected]>
Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]>
…ject#13920) * Fix NPE on restore searchable snapshot (opensearch-project#13911) Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]> (cherry picked from commit 9a87624) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Add constant for compatiblity Signed-off-by: Andrew Ross <[email protected]> --------- Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Andrew Ross <[email protected]> Signed-off-by: kkewwei <[email protected]>
Signed-off-by: panguixin <[email protected]> Signed-off-by: Andrew Ross <[email protected]> Co-authored-by: Andrew Ross <[email protected]>
Description
Two changes here:
DATA_TO_FILE_CACHE_SIZE_RATIO_SETTING
take effect.Related Issues
Resolves #12966
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.