Skip to content

[Backport 2.x] Throw UnsupportedOperationException in unused methods#15449

Merged
reta merged 1 commit into2.xfrom
backport/backport-15446-to-2.x
Aug 28, 2024
Merged

[Backport 2.x] Throw UnsupportedOperationException in unused methods#15449
reta merged 1 commit into2.xfrom
backport/backport-15446-to-2.x

Conversation

@opensearch-trigger-bot
Copy link
Copy Markdown
Contributor

Backport 20ebe6e from #15446.

These methods infinitely recurse as currently implemented. This change
makes them throw UnsupportedOperationException similar to many other
methods in this class.

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 20ebe6e)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 3cd2bdd: 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?

@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 3cd2bdd: 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?

@github-actions
Copy link
Copy Markdown
Contributor

❌ Gradle check result for 3cd2bdd: 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?

@github-actions
Copy link
Copy Markdown
Contributor

✅ Gradle check result for 3cd2bdd: SUCCESS

@codecov
Copy link
Copy Markdown

codecov bot commented Aug 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 71.64%. Comparing base (e80c06e) to head (3cd2bdd).
Report is 7 commits behind head on 2.x.

Files with missing lines Patch % Lines
...rg/opensearch/index/engine/TranslogLeafReader.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##                2.x   #15449      +/-   ##
============================================
- Coverage     71.64%   71.64%   -0.01%     
- Complexity    63462    63477      +15     
============================================
  Files          5213     5213              
  Lines        297357   297357              
  Branches      43283    43283              
============================================
- Hits         213042   213035       -7     
- Misses        66497    66498       +1     
- Partials      17818    17824       +6     

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

@reta reta merged commit d7e7d94 into 2.x Aug 28, 2024
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.

1 participant