frostfs-node/cmd/neofs-node
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
..
config [#773] writecache: Delete unused dbSize param 2021-08-27 15:05:53 +03:00
reputation [#693] node/reputation: Log keys in hex format 2021-07-13 15:12:21 +03:00
accounting.go [#607] cmd/node: Serve gRPC on multiple interfaces 2021-06-28 15:52:50 +03:00
attributes.go [#577] cmd/node: Use new config for node configuration 2021-06-02 13:28:15 +03:00
cache.go [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
config.go [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
container.go [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
control.go [#607] cmd/node: Empty Control server address as disable 2021-06-28 15:52:50 +03:00
grpc.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
main.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
metrics.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
morph.go [#746] morph: Implement and use multi-client 2021-09-02 11:04:38 +03:00
netmap.go [#761] cmd/node: Do not perform bootstrap procedure in relay mode 2021-08-26 18:54:55 +03:00
object.go [#676] services/container: Cache the results of read operations 2021-08-30 18:01:26 +03:00
pprof.go [#745] node: Add more debug logs on shutdown 2021-08-05 14:44:05 +03:00
reputation.go [#766] Fix stylecheck import linter error 2021-08-26 17:57:15 +03:00
session.go [#607] cmd/node: Serve gRPC on multiple interfaces 2021-06-28 15:52:50 +03:00
timers.go [#479] cmd/neofs-node: Add eigen trust block timer 2021-04-19 09:35:54 +03:00
worker.go [#108] cmd/neofs-node: Listen new epoch notifications from morph 2020-10-21 14:42:51 +03:00