hiero-ledger / hiero-ledger/hiero-consensus-node

Update EET client with option to retry around broken connections

Open
#5,000 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

When using yahli in environments with `PROD` Netty settings to update file `0.0.150`, it is common to fail [here](https://github.com/hashgraph/hedera-services/blob/8d6869569f5874f3ad033907f417b0a7fb363fe6/hedera-node/test-clients/src/main/java/com/hedera/services/bdd/spec/transactions/HapiTxnOp.java#L169) during status resolution.

This essentially doesn't happen with `TEST` Netty settings, so we have never added resiliency for this.

### Solution

Provide a `HapiSpecSetup` option to, on this failure mode:
- Re-create the `ManagedChannel`'s used by `HapiClients`.
- Keep re-trying status resolution.

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.