yiguolei commented on code in PR #52996:
URL: https://github.com/apache/doris/pull/52996#discussion_r2196650644
##########
be/src/olap/memtable.cpp:
##########
@@ -177,7 +177,8 @@ MemTable::~MemTable() {
}
if (_is_flush_success) {
// If the memtable is flush success, then its memtracker's consumption
should be 0
- if (_mem_tracker->consumption() != 0 &&
config::crash_in_memory_tracker_inaccurate) {
+ if (_mem_tracker->consumption() != _arena.size() &&
Review Comment:
不能这么改,他确实 如果不是0,就得挂掉,这说明内存没释放完
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]