Skip to content
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

Updates version to fix BWC for SearchSourceBuilder #17098

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

junweid62
Copy link
Contributor

Description

Will merge this PR after #17097 got merged

To perform the BWC process:
1. Do this on main with onOrAfter(Version.V_3_0_0)). Get it merged.
2. You'll need a manual backport to 2.x, where you do onOrAfter(Version.V_2_19_0). Don't get it merged right away.
3. Before merging the backport to 2.x, open another PR on main to change it to onOrAfter(Version.V_2_19_0).
4. Merge the backport PR.
5. Merge the main version update PR.

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

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.

Signed-off-by: Junwei Dai <junweid@amazon.com>
@junweid62 junweid62 changed the title Update version check to onOrAfter(Version.V_2_19_0) Updates version to fix BWC for SearchSourceBuilder Jan 23, 2025
Copy link
Contributor

❌ Gradle check result for 1603f4e: 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?

@junweid62
Copy link
Contributor Author

Hi @msfroh, could you please take a look at this PR when you have a moment? I performed BWC trick that mentioned at
#16843 and this is the mainline update

@junweid62 junweid62 requested a review from linuxpi as a code owner January 23, 2025 21:19
Copy link
Contributor

❌ Gradle check result for 891ed56: 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?

…ections

Signed-off-by: Junwei Dai <junweid@amazon.com>
Copy link
Contributor

✅ Gradle check result for c1e012d: SUCCESS

@owaiskazi19 owaiskazi19 merged commit 94dfe6d into opensearch-project:main Jan 23, 2025
28 checks passed
Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 40.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 72.26%. Comparing base (e15f712) to head (c1e012d).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
...ensearch/action/search/SearchResponseSections.java 0.00% 3 Missing ⚠️
...search/search/internal/InternalSearchResponse.java 40.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #17098      +/-   ##
============================================
- Coverage     72.27%   72.26%   -0.02%     
+ Complexity    65397    65388       -9     
============================================
  Files          5306     5306              
  Lines        304213   304219       +6     
  Branches      44117    44117              
============================================
- Hits         219881   219846      -35     
- Misses        66333    66398      +65     
+ Partials      17999    17975      -24     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

expani pushed a commit to expani/OpenSearch that referenced this pull request Jan 27, 2025
…t#17098)

* change version to 2.19

Signed-off-by: Junwei Dai <junweid@amazon.com>

* bring back the constructor InternalSearchResponse and SearchResponseSections

Signed-off-by: Junwei Dai <junweid@amazon.com>

---------

Signed-off-by: Junwei Dai <junweid@amazon.com>
Co-authored-by: Junwei Dai <junweid@amazon.com>
Signed-off-by: expani <anijainc@amazon.com>
etolbakov pushed a commit to etolbakov/OpenSearch that referenced this pull request Jan 29, 2025
…t#17098)

* change version to 2.19

Signed-off-by: Junwei Dai <junweid@amazon.com>

* bring back the constructor InternalSearchResponse and SearchResponseSections

Signed-off-by: Junwei Dai <junweid@amazon.com>

---------

Signed-off-by: Junwei Dai <junweid@amazon.com>
Co-authored-by: Junwei Dai <junweid@amazon.com>
Signed-off-by: Eugene Tolbakov <ev.tolbakov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants