Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](load) fix memtable memory limiter total mem usage (#41245)
## Proposed changes Previously, `mem_usage = write_mem + flush_mem`, because `active_mem` is included in `write_mem`. After #40912, `write_mem` becomes `queue_mem`, which no longer includes `active_mem`. This PR fixes this problem, by setting `mem_usage = active_mem + queue_mem + flush_mem`
- Loading branch information