count inmemoryParts that have not been taken for merge (#5447)

This commit is contained in:
Jiajing LU 2024-02-01 20:06:28 +08:00 committed by GitHub
parent 9d17fc7004
commit 333bda8702
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -578,7 +578,7 @@ func (ddb *datadb) needAssistedMergeForInmemoryPartsLocked() bool {
}
n := 0
for _, pw := range ddb.inmemoryParts {
if pw.isInMerge {
if !pw.isInMerge {
n++
}
}