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

Unhealthy node info #1605

Merged
merged 3 commits into from
May 11, 2023
Merged

Unhealthy node info #1605

merged 3 commits into from
May 11, 2023

Conversation

petreze
Copy link
Contributor

@petreze petreze commented May 10, 2023

Description:
Added logging statement to show which node has been removed from the healthy nodes

Related issue(s):

Fixes #1603

Notes for reviewer:

Checklist

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

petreze added 2 commits May 9, 2023 23:06
Signed-off-by: Petar Tonev <[email protected]>
@@ -651,6 +651,9 @@ export default class Executable {
) {
// Increase the backoff for the particular node and remove it from
// the healthy node list
Logger.debug(
`Node with accountId: ${node.accountId.toString()} and proxy IP: ${node.address.toString()} is unhealthy`
);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This error will be visible when the user enabled the logger. I will check with @Nana-EC if this is the requirement by the issue opened.

@sonarcloud
Copy link

sonarcloud bot commented May 11, 2023

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

@ochikov ochikov merged commit 2ccea61 into develop May 11, 2023
@ochikov ochikov deleted the feature/unhealthy-node-info branch May 11, 2023 12:18
monokaijs pushed a commit to monostarter/u2u-sdk-js that referenced this pull request Jul 5, 2023
* add logger debug info about unhealthy nodes

Signed-off-by: Petar Tonev <[email protected]>

* after build

Signed-off-by: Petar Tonev <[email protected]>

* refactor a bit the message and test the logger functionality

Signed-off-by: Petar Tonev <[email protected]>

---------

Signed-off-by: Petar Tonev <[email protected]>
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.

Add Node IP and Account Id to timeout errors
2 participants