forked from TrueCloudLab/frostfs-node
[#635] Use internal key type when deleting from badger wc
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
dc3bc08c07
commit
345a1a69a2
2 changed files with 3 additions and 3 deletions
|
@ -173,7 +173,7 @@ func (c *cache) workerFlushSmall() {
|
|||
continue
|
||||
}
|
||||
|
||||
c.deleteFromDB([]string{objectCore.AddressOf(obj).EncodeToString()})
|
||||
c.deleteFromDB([]internalKey{addr2key(objectCore.AddressOf(obj))})
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue