You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2026/07/08 12:46:00 UTC

[jira] [Updated] (IMPALA-13754) Simplify ScheduleState::UpdateMemoryRequirements

     [ https://issues.apache.org/jira/browse/IMPALA-13754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Zoltán Borók-Nagy updated IMPALA-13754:
---------------------------------------
    Target Version:   (was: Impala 5.0.0)

> 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
>            Priority: Major
>
> 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: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org