forked from TrueCloudLab/frostfs-node
[#1818] writecache: Remove unused variable
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
bb52857b2b
commit
a56927e3d4
1 changed files with 0 additions and 4 deletions
|
@ -137,8 +137,6 @@ func (c *cache) flushBigObjects() {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|
||||||
evictNum := 0
|
|
||||||
|
|
||||||
var prm common.IteratePrm
|
var prm common.IteratePrm
|
||||||
prm.LazyHandler = func(addr oid.Address, f func() ([]byte, error)) error {
|
prm.LazyHandler = func(addr oid.Address, f func() ([]byte, error)) error {
|
||||||
sAddr := addr.EncodeToString()
|
sAddr := addr.EncodeToString()
|
||||||
|
@ -176,8 +174,6 @@ func (c *cache) flushBigObjects() {
|
||||||
// mark object as flushed
|
// mark object as flushed
|
||||||
c.flushed.Add(sAddr, false)
|
c.flushed.Add(sAddr, false)
|
||||||
|
|
||||||
evictNum++
|
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue