diff --git a/pkg/core/storage/boltdb_store.go b/pkg/core/storage/boltdb_store.go index 8f60aa5ee..59a1acbb1 100644 --- a/pkg/core/storage/boltdb_store.go +++ b/pkg/core/storage/boltdb_store.go @@ -92,7 +92,7 @@ func (s *BoltDBStore) PutBatch(batch Batch) error { func (s *BoltDBStore) PutChangeSet(puts map[string][]byte) error { var err error - return s.db.Batch(func(tx *bbolt.Tx) error { + return s.db.Update(func(tx *bbolt.Tx) error { b := tx.Bucket(Bucket) for k, v := range puts { if v != nil {