frostfs-node/pkg
Leonard Lyubich ad7ad12a0c [#746] morph: Implement and use multi-client
There is a need to work with a set of Neo RPC nodes in order not to depend
on the failure of some nodes while others are active.

Support "multi-client" mode of morph `Client` entity. If instance is not
"multi-client", it works as before. Constructor `New` creates multi-client,
and each method performs iterating over the fixed set of endpoints until
success. Opened client connections are cached (without eviction for now).

Storage (as earlier) and IR (from now) nodes can be configured with multiple
Neo endpoints. As above, `New` creates multi-client instance, so we don't
need initialization changes on app-side.

`Wait` and `GetDesignateHash` methods of `Client` return an error from now
to detect connection errors. `NotaryEnabled` method is removed as unused.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-09-02 11:04:38 +03:00
..
core [#660] core/container: Use version.IsValid in CheckFormat 2021-07-05 11:05:44 +03:00
innerring [#746] morph: Implement and use multi-client 2021-09-02 11:04:38 +03:00
local_object_storage [#773] writecache: Delete unused dbSize param 2021-08-27 15:05:53 +03:00
metrics [#426] Put prometheus behind pkg/metrics 2021-03-17 10:58:00 +03:00
morph [#746] morph: Implement and use multi-client 2021-09-02 11:04:38 +03:00
network [#737] network/cache: handle request canceled in multiclient 2021-08-05 14:47:41 +03:00
services [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
util [#787] util/attributes: Restore escape characters after caching the result 2021-09-01 14:29:26 +03:00