frostfs-node/pkg/local_object_storage
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
..
blobovnicza [#1143] blobstor: Implement existsSmall check 2022-03-31 15:33:22 +03:00
blobstor [#1143] blobstor: Implement existsSmall check 2022-03-31 15:33:22 +03:00
engine [#1321] node: Register GC event channel before shard init 2022-04-25 10:39:37 +03:00
internal/log [#790] storage engine: Add common template of log messages 2021-09-13 15:02:13 +03:00
metabase [#1293] metabase: Fix out-of-range panic in freePotentialLocks 2022-04-05 15:38:51 +03:00
shard [#1321] node: Register GC event channel before shard init 2022-04-25 10:39:37 +03:00
util [#1214] *: Use single Object type in whole project 2022-03-04 17:45:00 +03:00
writecache [#1149] writecache: Prevent corruption in Head 2022-03-31 15:40:25 +03:00