You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Peter Bacsko (Jira)" <ji...@apache.org> on 2022/05/26 12:32:00 UTC
[jira] [Resolved] (YUNIKORN-1186) Race condition during recovery
[ https://issues.apache.org/jira/browse/YUNIKORN-1186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Bacsko resolved YUNIKORN-1186.
------------------------------------
Fix Version/s: 1.1.0
Resolution: Fixed
> Race condition during recovery
> ------------------------------
>
> Key: YUNIKORN-1186
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1186
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: shim - kubernetes
> Reporter: Peter Bacsko
> Assignee: Peter Bacsko
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.1.0
>
>
> The covery phase is not stable. Inside {{Context}}, we can create existing {{Application}} objects in two possible ways:
> 1. Asynchronously from shared informers. When Yunikorn starts up, it initializes the event handlers and it immediately receives the list of running pods and populates the {{Context}} from {{Manager.addPod()}}.
> 2. Synchronously from {{Manager.ListApplications()}}.
> We have to make sure that these two calls do not interfere with each other and they create the same {{Application}} object, which right now does not seem to be the case.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org