xinyiZzz commented on code in PR #52996:
URL: https://github.com/apache/doris/pull/52996#discussion_r2197598264


##########
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:
   上面都已经 arena.clear(true) 了,arena size应该就归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]

Reply via email to