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