-
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 read/write in stream method for Diff Manifest when shard diff file is null #14938
Fix read/write in stream method for Diff Manifest when shard diff file is null #14938
Conversation
❌ Gradle check result for 7f00ba4: 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? |
7f00ba4
to
5f26045
Compare
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.
Please add PR description
Signed-off-by: Shailendra Singh <[email protected]>
5f26045
to
27e90df
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #14938 +/- ##
============================================
- Coverage 71.89% 71.75% -0.14%
+ Complexity 62701 62670 -31
============================================
Files 5159 5159
Lines 294157 294156 -1
Branches 42547 42547
============================================
- Hits 211492 211084 -408
- Misses 65200 65748 +548
+ Partials 17465 17324 -141 ☔ View full report in Codecov by Sentry. |
…ll. (#14938) Signed-off-by: Shailendra Singh <[email protected]> (cherry picked from commit 5744eae) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ll. (#14938) Signed-off-by: Shailendra Singh <[email protected]> (cherry picked from commit 5744eae) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…ll. (opensearch-project#14938) Signed-off-by: Shailendra Singh <[email protected]>
…ll. (opensearch-project#14938) Signed-off-by: Shailendra Singh <[email protected]>
Description
IndicesRoutingDiffPath would be null in diff manifest when there are no updates in routing table. Currently we are not handling null values and it will throw an EOFException if it encounters a null when trying to read/write indicesRoutingDiffPath in/from diff manifest.
Resolves #[Issue number to be closed when this PR is merged]
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.