Create tombstone source when reload #393

Merged
fyrchik merged 2 commits from dstepanov-yadro/frostfs-node:fix/gc_panic into master 2023-05-26 12:14:03 +00:00
Showing only changes of commit c6a8ce6760 - Show all commits

View file

@ -146,8 +146,8 @@ func (gc *gc) listenEvents(ctx context.Context) {
h := v.handlers[i] h := v.handlers[i]
err := gc.workerPool.Submit(func() { err := gc.workerPool.Submit(func() {
defer v.prevGroup.Done()
h(runCtx, event) h(runCtx, event)
v.prevGroup.Done()
}) })
if err != nil { if err != nil {
gc.log.Warn(logs.ShardCouldNotSubmitGCJobToWorkerPool, gc.log.Warn(logs.ShardCouldNotSubmitGCJobToWorkerPool,