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

Decrement unhealthy nodes count on readmit time expiry #1613

Merged
merged 2 commits into from
May 25, 2023

Conversation

petreze
Copy link
Contributor

@petreze petreze commented May 25, 2023

Description:
Fixes an issue where the unhealthyNodesCount is not updated upon returning the node from unhealthy to healthy.
This happens whenever the readmitTime period expires, then we consider the node to be potentially available again

Related issue(s):

Fixes #1524 #1606

Notes for reviewer:
Decrement unhealthyNodesCount when we return the node to the healthy list of nodes

Checklist

  • Documented (Code comments, README, etc.)
  • Tested (unit, integration, etc.)

Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@petreze petreze changed the title Decrement unhealthy nodes on readmit time expiry Decrement unhealthy nodes count on readmit time expiry May 25, 2023
Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
@petreze petreze merged commit b48e27f into release/v2.26.0-beta.3 May 25, 2023
@petreze petreze deleted the fix/node-returned-after-readmit-time branch May 25, 2023 12:00
monokaijs pushed a commit to monostarter/u2u-sdk-js that referenced this pull request Jul 5, 2023
…1613)

* decrement unhealthy nodes on readmit time expiry

Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>

* prepare for release

Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>

---------

Signed-off-by: Petar Tonev <petar.tonev@limechain.tech>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant