WIP: v0.38.5 no leaf limit blobovnicza #1270

Closed
dstepanov-yadro wants to merge 2 commits from dstepanov-yadro/frostfs-node:v0.38.5+no_leaf_limit_blobovnicza into support/v0.38
Showing only changes of commit 3bcc31696b - Show all commits

View file

@ -117,6 +117,12 @@ func (s *Shard) deleteFromBlobstor(ctx context.Context, addr oid.Address) error
return err
}
storageID := res.StorageID()
if storageID == nil {
// if storageID is nil it means:
// 1. there is no such object
// 2. object stored by writecache: should not happen, as `validateWritecacheDoesntContainObject` called before `deleteFromBlobstor`
return nil
}
var delPrm common.DeletePrm
delPrm.Address = addr