frostfs-node/cmd
Pavel Karpy bd27837364 [#1321] node: Register GC event channel before shard init
Morph "NewEpoch" event handling was registered in a closure over
`addNewEpochNotificationHandler` func. That may lead to the data race:
if a shard was initialized before the event registration, everything works
as planned, but if registration was made earlier, it was not able to
include GC handlers since a shard has not called `eventChanInit` yet and,
therefore, it has not registered handler yet.

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
2022-04-25 10:39:37 +03:00
..
neofs-adm [#1308] neofs-adm: Add command to dump GAS balances 2022-04-12 17:37:40 +03:00
neofs-cli [#1250] *: Remove io/ioutil imports 2022-04-07 17:23:28 +03:00
neofs-ir [#1170] ir, node: Stop the app on WS connection lost 2022-04-08 11:52:18 +03:00
neofs-lens [#1250] *: Remove io/ioutil imports 2022-04-07 17:23:28 +03:00
neofs-node [#1321] node: Register GC event channel before shard init 2022-04-25 10:39:37 +03:00