[#745] gc: Stop GC work on Shard's Close

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2021-08-04 15:04:37 +03:00 committed by Alex Vanin
parent 6527f9157c
commit 3d981320c6
3 changed files with 23 additions and 7 deletions

View file

@ -18,6 +18,8 @@ import (
type Shard struct {
*cfg
gc *gc
mode *atomic.Uint32
writeCache writecache.Cache