[ https://issues.apache.org/jira/browse/YUNIKORN-462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17460342#comment-17460342 ]
Weiwei Yang commented on YUNIKORN-462: -------------------------------------- Gotcha, thank you. > Streamline core to shim update on allocation change > --------------------------------------------------- > > Key: YUNIKORN-462 > URL: https://issues.apache.org/jira/browse/YUNIKORN-462 > Project: Apache YuniKorn > Issue Type: Sub-task > Components: core - scheduler, shim - kubernetes > Reporter: Wilfred Spiegelenburg > Assignee: Manikandan R > Priority: Major > Labels: pull-request-available > > Currently in the scheduler we have two updates that get send to the shim when > an allocation is added or released: > * event to shim RM event handler to allocate > * reconciler plugin to update the shim caches > Before YUNIKORN-317 one update was made in the cace the other in the > scheduler. Now they are both in the scheduler in quick succession. The cache > update in the shim is needed to make sure that the predicates are seeing the > correct info. The event does the real bind etc of the allocation on the node. > We should be able to fold the two calls into one call. However this requires > changes on both sides and might even impact the SI as it will likely become a > synced event call. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@yunikorn.apache.org For additional commands, e-mail: issues-h...@yunikorn.apache.org