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

Retaining the old constructors for classes marked as API changed as part of #12333 #13926

Merged
merged 4 commits into from
Jun 9, 2024

Conversation

gargharsh3134
Copy link
Contributor

@gargharsh3134 gargharsh3134 commented Jun 3, 2024

Description

As part of #12333, constructors of some of the classes marked as API were changed to add a new ClusterManagerMetrics parameter. This was causing failures in the respective backport PRs (#13755 for reference) because of breaking changes. This PR is targeted to retain those old constructors and maintain compatibility.

Related Issues

Resolves #14068

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • API changes companion pull request created.
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

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.

Copy link
Contributor

github-actions bot commented Jun 3, 2024

✅ Gradle check result for 3028db6: SUCCESS

Copy link

codecov bot commented Jun 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.70%. Comparing base (b15cb0c) to head (06ac829).
Report is 373 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main   #13926      +/-   ##
============================================
+ Coverage     71.42%   71.70%   +0.28%     
- Complexity    59978    61680    +1702     
============================================
  Files          4985     5089     +104     
  Lines        282275   289429    +7154     
  Branches      40946    41859     +913     
============================================
+ Hits         201603   207541    +5938     
- Misses        63999    64759     +760     
- Partials      16673    17129     +456     

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

Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Copy link
Contributor

github-actions bot commented Jun 7, 2024

✅ Gradle check result for 5ba6ff9: SUCCESS

Harsh Garg added 2 commits June 8, 2024 17:25
Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Copy link
Contributor

github-actions bot commented Jun 8, 2024

❕ Gradle check result for 06ac829: 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.

@sachinpkale sachinpkale merged commit 1b36ee4 into opensearch-project:main Jun 9, 2024
30 checks passed
gargharsh3134 added a commit to gargharsh3134/OpenSearch that referenced this pull request Jun 10, 2024
…art of opensearch-project#12333 (opensearch-project#13926)

* Retaining the old constructors for classes marked as API changed as part of opensearch-project#12333
---------
Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Co-authored-by: Harsh Garg <gkharsh@amazon.com>
gargharsh3134 added a commit to gargharsh3134/OpenSearch that referenced this pull request Jun 10, 2024
…art of opensearch-project#12333 (opensearch-project#13926)

* Retaining the old constructors for classes marked as API changed as part of opensearch-project#12333
---------
Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Co-authored-by: Harsh Garg <gkharsh@amazon.com>
parv0201 pushed a commit to parv0201/OpenSearch that referenced this pull request Jun 10, 2024
…art of opensearch-project#12333 (opensearch-project#13926)

* Retaining the old constructors for classes marked as API changed as part of opensearch-project#12333
---------
Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Co-authored-by: Harsh Garg <gkharsh@amazon.com>
wdongyu pushed a commit to wdongyu/OpenSearch that referenced this pull request Aug 22, 2024
…art of opensearch-project#12333 (opensearch-project#13926)

* Retaining the old constructors for classes marked as API changed as part of opensearch-project#12333
---------
Signed-off-by: Harsh Garg <gkharsh@amazon.com>
Co-authored-by: Harsh Garg <gkharsh@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

[BUG] Constructors Incompatibility of API classes.
3 participants