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

Fix Cache breaking change #16238

Merged

Conversation

sgup432
Copy link
Contributor

@sgup432 sgup432 commented Oct 8, 2024

Description

Fixing Cache breaking change.

We made changes in Cache.java which is a publicApi and renamed below field . This change adds it back.

Related - #16229. Failing with below

Status Modifier Type Field Compatibility Changes:
REMOVED (!) public static final int (!) NUMBER_OF_SEGMENTS ChangeFIELD_REMOVED

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: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>
Copy link
Contributor

github-actions bot commented Oct 8, 2024

❌ Gradle check result for 2f00455: 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?

Copy link
Contributor

github-actions bot commented Oct 8, 2024

❕ Gradle check result for 2f00455: 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.

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.96%. Comparing base (a81b868) to head (963602d).
Report is 13 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #16238      +/-   ##
============================================
+ Coverage     71.94%   71.96%   +0.01%     
- Complexity    64612    64681      +69     
============================================
  Files          5298     5303       +5     
  Lines        301952   302479     +527     
  Branches      43627    43699      +72     
============================================
+ Hits         217247   217675     +428     
+ Misses        66884    66883       -1     
- Partials      17821    17921     +100     

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

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>
Copy link
Contributor

github-actions bot commented Oct 8, 2024

✅ Gradle check result for 963602d: SUCCESS

@jainankitk jainankitk merged commit 62b1537 into opensearch-project:main Oct 9, 2024
34 checks passed
@jainankitk
Copy link
Collaborator

Doesn't need backport as fixed in #16229 itself

dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 16, 2024
…16238)

* Fix Cache breaking change

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

* Empty commit to trigger build

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

---------

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 17, 2024
…16238)

* Fix Cache breaking change

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

* Empty commit to trigger build

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

---------

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>
dk2k pushed a commit to dk2k/OpenSearch that referenced this pull request Oct 21, 2024
…16238)

* Fix Cache breaking change

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

* Empty commit to trigger build

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@gmail.com>

---------

Signed-off-by: Sagar Upadhyaya <sagar.upadhyaya.121@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.

2 participants