bug(streaming): TopNCache::estimated_heap_size
wrong
#14530
Labels
good first issue
Good for newcomers
help wanted
Issues that need help from contributors
type/bug
Something isn't working
Milestone
Some user report that the memory metrics is wrong for streaming query with topN
It is because the
TopNCacheState::extract_if
andTopNCacheState::retain
do not maintain thekv_size
correctly.risingwave/src/stream/src/executor/top_n/topn_cache_state.rs
Lines 111 to 124 in 8c77bb4
The text was updated successfully, but these errors were encountered: