hiero-ledger / hiero-ledger/hiero-consensus-node
Improve retry handling in yahcli
- Dominant language
- Java
- Stars
- 406
- Forks
- 226
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 210
Description
Yahcli uses a naive retry approach for failed requests: repeatedly send the same request to the same node X number of times. We want to improve this strategy by implementing two simple changes: first, by sending the request to other healthy nodes in the configured network; second, by adding a wait time (e.g. 1-5 seconds) in between retry requests.
Contributor guide
Research direction
Start by locating yahcli's failed-request retry entry point and the existing logic for configured healthy nodes. Confirm how retry counts are currently handled, then verify that retries can use other healthy nodes and include a 1–5 second wait between requests; add or update tests for both behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- cli, networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100