Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-7628

VM Worker job should be expunged one hour after completion instead of currently being expunged whenever cleanup task thread is run.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.3.0
    • 4.5.0
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Based on design, when VM worker job cleanup thread runs, it should only expunge those vm work jobs that are completed more than one hour ago. This is to prevent some Db constraint error in expunging these jobs since there are still reference to the worker job in async_job_map table. Also on some racing condition, we will encounter NPE due to removal of such jobs too quickly.

      Attachments

        Activity

          People

            minchen07 Min Chen
            minchen07 Min Chen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: