forked from TrueCloudLab/frostfs-node
[#1616] engine: Do not use batches in delete
Use a simple loop at the callsite. This way we remove as much as we can. Also, `Delete` metrics is more meaningful now. Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
cda8f9df2e
commit
b064fb24d8
3 changed files with 46 additions and 41 deletions
|
@ -299,7 +299,7 @@ func TestLockForceRemoval(t *testing.T) {
|
|||
|
||||
// 4.
|
||||
var deletePrm DeletePrm
|
||||
deletePrm.WithAddresses(objectcore.AddressOf(lock))
|
||||
deletePrm.WithAddress(objectcore.AddressOf(lock))
|
||||
deletePrm.WithForceRemoval()
|
||||
|
||||
_, err = e.Delete(deletePrm)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue