[
https://issues.apache.org/jira/browse/YUNIKORN-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17880898#comment-17880898
]
Qi Zhu commented on YUNIKORN-2855:
----------------------------------
Add more details to description.
> Rethink the call for update metrics with nil resource
> -----------------------------------------------------
>
> Key: YUNIKORN-2855
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2855
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler
> Reporter: Qi Zhu
> Assignee: Qi Zhu
> Priority: Major
> Labels: pull-request-available
>
> We support setting maxResource/ guaranteed resource to nil, but the metrics
> update is wrong because we don't update it from previous value update to
> zero/nil, for example:
> https://github.com/apache/yunikorn-core/blob/7c51e82f09720b014159e0ba2f48d5e600a1f96c/pkg/scheduler/objects/queue.go#L415
> https://github.com/apache/yunikorn-core/blob/7c51e82f09720b014159e0ba2f48d5e600a1f96c/pkg/scheduler/objects/queue.go#L441
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]