Compare commits

..

No commits in common. "master" and "bugfix/fix_writecache_flush" have entirely different histories.

2 changed files with 1 additions and 3 deletions

View file

@ -517,7 +517,7 @@ func (db *DB) matchSlowFilters(tx *bbolt.Tx, addr oid.Address, f objectSDK.Searc
func (db *DB) getObjectForSlowFilters(tx *bbolt.Tx, addr oid.Address, currEpoch uint64) (*objectSDK.Object, bool, error) {
buf := make([]byte, addressKeySize)
obj, err := db.get(tx, addr, buf, false, false, currEpoch)
obj, err := db.get(tx, addr, buf, true, false, currEpoch)
if err != nil {
var ecInfoError *objectSDK.ECInfoError
if errors.As(err, &ecInfoError) {

View file

@ -1216,8 +1216,6 @@ func TestExpiredObjects(t *testing.T) {
}
func benchmarkSelect(b *testing.B, db *meta.DB, cid cidSDK.ID, fs objectSDK.SearchFilters, expected int) {
b.ReportAllocs()
var prm meta.SelectPrm
prm.SetContainerID(cid)
prm.SetFilters(fs)