v1.2_bolt #3

Closed
dstepanov-yadro wants to merge 2 commits from v1.2_bolt into support/v0.36
Showing only changes of commit c343af0439 - Show all commits

View file

@ -52,7 +52,7 @@ func (b *Blobovnicza) Put(prm PutPrm) (PutRes, error) {
bucketName := bucketForSize(sz)
key := addressKey(prm.addr)
err := b.boltDB.Batch(func(tx *bbolt.Tx) error {
err := b.boltDB.Update(func(tx *bbolt.Tx) error {
if b.full() {
return ErrFull
}