Fix container counters metrics removal #941

Merged
dstepanov-yadro merged 2 commits from dstepanov-yadro/frostfs-node:fix/container_counters into master 2024-09-04 19:51:06 +00:00
Showing only changes of commit c681354afd - Show all commits

View file

@ -398,7 +398,7 @@ func (e *StorageEngine) processZeroCountContainers(ctx context.Context, ids []ci
}
for id := range idMap {
if err := sh.DeleteContainerSize(ctx, id); err != nil {
if err := sh.DeleteContainerCount(ctx, id); err != nil {
e.log.Warn(logs.EngineFailedToDeleteContainerSize, zap.Stringer("container_id", id), zap.Error(err))
failed = true
return true