Riza Suminto created IMPALA-13754:
-------------------------------------
Summary: Simplify ScheduleState::UpdateMemoryRequirements
Key: IMPALA-13754
URL: https://issues.apache.org/jira/browse/IMPALA-13754
Project: IMPALA
Issue Type: Improvement
Components: Backend
Reporter: Riza Suminto
ScheduleState::UpdateMemoryRequirements is very complex, covering multitudes of
possible tuning knobs.
[https://github.com/apache/impala/blob/c9e9f86c0536f0991f70613675bbcfbbccc6a324/be/src/scheduling/schedule-state.cc#L298]
We should simplify this by:
# Drop mimic_old_behaviour.
# If pool_cfg.clamp_mem_limit_query_option is True, assert that
0 < pool_cfg.min_query_mem_limit < pool_cfg.max_query_mem_limit
# Drop FLAGS_clamp_query_mem_limit_backend_mem_limit logic.
The success criteria is if we can reduce enum MemLimitSourcePB usage.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]