frostfs-node/cmd/neofs-node
Leonard Lyubich 7a5729ea2b [#761] cmd/node: Do not perform bootstrap procedure in relay mode
Storage node should not try to register itself in network in relay mode.

Implement `needBootstrap` method which checks if node need to bootstrap.
Call `bootstrap` method in `bootstrapNode` function only on true return.
Skip re-bootstrap logic in new epoch event handler on false return.
Return an error if `ControlService.SetNetmapStatus` is called on relay
node.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-08-26 18:54:55 +03:00
..
config [#730] node/config/morph: Add disable_cache 2021-08-03 09:40:10 +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 [#730] node/morph: Use disable_cache config param 2021-08-03 09:40:10 +03:00
config.go [#761] cmd/node: Do not perform bootstrap procedure in relay mode 2021-08-26 18:54:55 +03:00
container.go [#730] node/morph: Use disable_cache config param 2021-08-03 09:40:10 +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 #759] node: Log notary status on startup 2021-08-23 15:26:10 +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 [#730] node/morph: Use disable_cache config param 2021-08-03 09:40:10 +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