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

[Backport -2.x] Cluster health call to throw decommissioned exception for local decommissioned node #6059

Merged

Conversation

imRishN
Copy link
Member

@imRishN imRishN commented Jan 29, 2023

Cluster health call to throw decommissioned exception for local decommissioned nodes

Signed-off-by: Rishab Nahata rnnahata@amazon.com

Description

[Describe what this change achieves]

Issues Resolved

[List any issues this PR will resolve]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

…missioned node (opensearch-project#6008)

* Cluster health call to throw decommissioned exception for local decommissioned nodes

Signed-off-by: Rishab Nahata <rnnahata@amazon.com>
@imRishN imRishN changed the title Cluster health call to throw decommissioned exception for local decommissioned node [Backport -2.x] Cluster health call to throw decommissioned exception for local decommissioned node Jan 29, 2023
@imRishN imRishN marked this pull request as ready for review January 29, 2023 15:46
@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@codecov-commenter
Copy link

Codecov Report

Merging #6059 (c504b51) into 2.x (348852f) will decrease coverage by 0.07%.
The diff coverage is 60.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@             Coverage Diff              @@
##                2.x    #6059      +/-   ##
============================================
- Coverage     70.49%   70.42%   -0.07%     
- Complexity    58937    58945       +8     
============================================
  Files          4769     4769              
  Lines        282601   282621      +20     
  Branches      41165    41169       +4     
============================================
- Hits         199217   199049     -168     
- Misses        66723    66940     +217     
+ Partials      16661    16632      -29     
Impacted Files Coverage Δ
...in/cluster/health/ClusterHealthRequestBuilder.java 27.77% <0.00%> (-1.64%) ⬇️
...g/opensearch/cluster/coordination/Coordinator.java 77.52% <ø> (-1.81%) ⬇️
...ster/decommission/NodeDecommissionedException.java 40.00% <0.00%> (-10.00%) ⬇️
...n/cluster/health/TransportClusterHealthAction.java 45.26% <20.00%> (-0.69%) ⬇️
...ion/admin/cluster/health/ClusterHealthRequest.java 83.87% <90.00%> (+2.29%) ⬆️
.../action/admin/cluster/RestClusterHealthAction.java 65.85% <100.00%> (+1.75%) ⬆️
...g/opensearch/index/analysis/CharFilterFactory.java 0.00% <0.00%> (-100.00%) ⬇️
...port/ResponseHandlerFailureTransportException.java 0.00% <0.00%> (-60.00%) ⬇️
...cluster/coordination/PublishClusterStateStats.java 33.33% <0.00%> (-37.51%) ⬇️
.../opensearch/client/indices/CloseIndexResponse.java 56.25% <0.00%> (-35.00%) ⬇️
... and 486 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Bukhtawar Bukhtawar merged commit 579f1a6 into opensearch-project:2.x Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants