forked from TrueCloudLab/frostfs-node
[#314] writecache: Do not lose small objects on disk errors
Do return error if an object could not been stored on WC's disk. Signed-off-by: Pavel Karpy <p.karpy@yadro.com>feature/325-policer_off
parent
9e56592be3
commit
bf79d06f03
|
@ -78,7 +78,7 @@ func (c *cache) putSmall(obj objectInfo) error {
|
|||
)
|
||||
c.objCounters.IncDB()
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
// putBig writes object to FSTree and pushes it to the flush workers queue.
|
||||
|
|
Loading…
Reference in New Issue