xinyiZzz commented on a change in pull request #8322:
URL: https://github.com/apache/incubator-doris/pull/8322#discussion_r824327970
##########
File path: be/src/runtime/plan_fragment_executor.h
##########
@@ -147,7 +147,6 @@ class PlanFragmentExecutor {
ExecEnv* _exec_env; // not owned
ExecNode* _plan; // lives in _runtime_state->obj_pool()
TUniqueId _query_id;
- std::shared_ptr<MemTracker> _mem_tracker;
Review comment:
Same as explained above for _scanner_mem_tracker.
Count the memory consumption of Rowset Reader and Tablet Reader in
OlapScanner
_scanner_mem_tracker replaces the previous PlanFragmentExecutor::
_mem_tracker, both of which are also used to count the memory of OlapScanner.
The difference is that,
The parent of rPlanFragmentExecutor:: _mem_tracker is process_mem_tracker,
which is used in segment_reader of segmentV1 to determine whether OlapScanner
exceeds the mem limit.
The parent of _scanner_mem_tracker is query_mem_tracker, which removes the
logic of OlapScanner mem limit exceed in segment_reader.
--
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]