-
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
Revert "Removing unused fetch sub phase processor initialization during fetch… (#12503)" #13486
Conversation
…ng fetch… (opensearch-project#12503)" This reverts commit da5b205. Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
❌ Gradle check result for fce4c49: 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? |
@jainankitk fyi, @msfroh @dblock please take a look folks (just a revert) |
@reta - Thank you for this PR. Also, do we need to revert ScriptFieldsPhase change as well? I can also raise PR to just revert inner hits change if you want |
server/src/main/java/org/opensearch/search/fetch/subphase/InnerHitsPhase.java
Show resolved
Hide resolved
@jainankitk Do you see a fix that avoids the revert and fixes the issue? |
We can include the changes from #13488 as part of this, or drop this and merge the other PR |
I am going to revert the change in full and ask for more tests to be added after |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #13486 +/- ##
============================================
+ Coverage 71.42% 71.44% +0.02%
- Complexity 59978 60974 +996
============================================
Files 4985 5050 +65
Lines 282275 286800 +4525
Branches 40946 41549 +603
============================================
+ Hits 201603 204909 +3306
- Misses 63999 64956 +957
- Partials 16673 16935 +262 ☔ View full report in Codecov by Sentry. |
It sounds like @reta and @msfroh would prefer to merge this PR vs. #13488, I'll let either of them to make that decision and hit the approve/merge buttons. I don't have a strong opinion other than I'm glad we're adding a test for the regression. |
…tialization during fetch… (#12503)" (#13492) * Revert "Removing unused fetch sub phase processor initialization during fetch… (#12503)" (#13486) This reverts commit da5b205. Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit 5133e5f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Update 400_inner_hits.yml Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io> 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: Andriy Redko <andriy.redko@aiven.io>
…ialization during fetch… (#12503)" (#13491) * Revert "Removing unused fetch sub phase processor initialization during fetch… (#12503)" (#13486) This reverts commit da5b205. Signed-off-by: Andriy Redko <andriy.redko@aiven.io> (cherry picked from commit 5133e5f) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Signed-off-by: Andriy Redko <andriy.redko@aiven.io> * Update 400_inner_hits.yml Signed-off-by: Andriy Redko <andriy.redko@aiven.io> --------- Signed-off-by: Andriy Redko <andriy.redko@aiven.io> 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: Andriy Redko <andriy.redko@aiven.io>
…ng fetch… (opensearch-project#12503)" (opensearch-project#13486) This reverts commit da5b205. Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…ng fetch… (opensearch-project#12503)" (opensearch-project#13486) This reverts commit da5b205. Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
…ng fetch… (opensearch-project#12503)" (opensearch-project#13486) This reverts commit da5b205. Signed-off-by: Andriy Redko <andriy.redko@aiven.io>
This reverts commit da5b205.
Description
Reverts #12503 that introduced regression in 2.13.0. Thanks a lot @martijnbolhuis for spotting it and supplying the tests, @dblock for working with the contributor.
Related Issues
Closes #13467
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.