Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-1187 [Umbrella] Recovery stabilization
  3. YUNIKORN-1194

Task objects are not created when applications are restored in recoverApps()

    XMLWordPrintableJSON

Details

    Description

      In order to properly restore the Application objects inside Context, we also need to call Context.AddTask().

      This method is called when addPod() runs, but it's completely absent during the synchronous recovery code path. This also means that right now, recovery is completely dependent on the asynchronous nature of the shared informers and the application meta that comes back form ListApplications() does not matter - at that point, we're very likely restored the apps. But if not, then Yunikorn ends up having an inconsistent application state.

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: