You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The write failed, hold onto the error and adjust the size delta.
werr=err
addedSize-=uint64(Values(v).Size())
c.decreaseSize(uint64(Values(v).Size()))
}
ifnewKey {
addedSize+=uint64(len(k))
c.increaseSize(uint64(len(k)))
}
}
I notice in TestCache_CacheWriteMulti_TypeConflict test, we assume cache size won't increase when writing failed, but actually, it adds key size, I think this may be a bug. So this test cannot pass
influxdb/tsdb/engine/tsm1/cache.go
Lines 342 to 354 in 43c2e08
I notice in
TestCache_CacheWriteMulti_TypeConflict
test, we assume cache size won't increase when writing failed, but actually, it adds key size, I think this may be a bug. So this test cannot passinfluxdb/tsdb/engine/tsm1/cache_test.go
Lines 110 to 116 in 43c2e08
The text was updated successfully, but these errors were encountered: