Skip to content

When sending message and node unreaachable exhaust all nodes in list until message is sent, report fail otherwise. #452

@zoperado

Description

@zoperado

Problem
When selected nodes are under temporarily under maintenance then it's a hit an miss when sending a message. If the node that is down was selected by the sdk then the whole procedure fails and it is expected from the app developer to take care of handling the exception. However, this is is one of the most commonly occurring exceptions when sending a message and SCX could take care of it.

Solution
When sending a message, the core can monitor the progress and try send the message with a different node if the chosen one is unavailable.

Alternatives
The user needs to handle the exceptions himself, however the current implementation does not propagate exceptions well and there needs a bit of work finding what exception is thrown because there are many reasons why a message failed to go out, and it's not always hedera network problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions