frostfs-node/pkg
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
..
core [#1247] *: Clarify docs about returned errors from apistatus package 2022-03-17 16:34:00 +03:00
innerring [#1170] pkg/morph: Add worker pool 2022-04-08 11:52:18 +03:00
local_object_storage [#1321] node: Register GC event channel before shard init 2022-04-25 10:39:37 +03:00
metrics [#1054] neofs-node: add epoch metric 2021-12-28 15:34:20 +03:00
morph [#1312] morph/netmap: Fix panic during parameter parsing 2022-04-12 17:37:12 +03:00
network [#1157] network/cache: Optimize client fetch from multiClient 2022-03-28 18:11:20 +03:00
services services/acl: check session token expiration epoch 2022-03-31 15:37:29 +03:00
util [#1239] util/attributes: Remove excessive slice copy during parsing 2022-03-29 16:02:05 +03:00