-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Make sure IndexOutput of metadata file is always closed #8653
Make sure IndexOutput of metadata file is always closed #8653
Conversation
Signed-off-by: Sachin Kale <[email protected]>
server/src/main/java/org/opensearch/index/store/RemoteSegmentStoreDirectory.java
Show resolved
Hide resolved
Gradle Check (Jenkins) Run Completed with:
|
Codecov Report
@@ Coverage Diff @@
## 2.x #8653 +/- ##
============================================
- Coverage 70.71% 70.69% -0.02%
+ Complexity 57178 57157 -21
============================================
Files 4745 4745
Lines 270757 270756 -1
Branches 39961 39961
============================================
- Hits 191456 191424 -32
- Misses 62850 62875 +25
- Partials 16451 16457 +6
|
Let's have another pair of eyes for review as we want this in |
Signed-off-by: Sachin Kale <[email protected]>
@dreamer-89 The changes looks good. |
Gradle Check (Jenkins) Run Completed with:
|
Checking the build failure. |
Gradle Check (Jenkins) Run Completed with:
|
…roject#8653) --------- Signed-off-by: Sachin Kale <[email protected]> Co-authored-by: Sachin Kale <[email protected]>
--------- Signed-off-by: Sachin Kale <[email protected]> Co-authored-by: Sachin Kale <[email protected]>
@@ -604,6 +604,28 @@ public void testUploadMetadataNonEmpty() throws IOException { | |||
} | |||
} | |||
|
|||
public void testUploadMetadataMissingSegment() throws IOException { |
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.
@sachinpkale : This test is missing in main
. This needs authors to fix/amend this test separately on 2.x
. Example PR #9076
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.
this test is now failing on 2.x - #9095
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.
This is fixed with #9099
Description
Related Issues
Resolves #8638
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.