[ https://issues.apache.org/jira/browse/YUNIKORN-2855?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Craig Condit updated YUNIKORN-2855: ----------------------------------- Summary: Handle nil properly in queue metrics (was: Rethink the call for update metrics with nil resource) > Handle nil properly in queue metrics > ------------------------------------ > > 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 > Fix For: 1.7.0 > > > 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: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org