forked from TrueCloudLab/frostfs-node
bd27837364
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> |
||
---|---|---|
.. | ||
core | ||
innerring | ||
local_object_storage | ||
metrics | ||
morph | ||
network | ||
services | ||
util |