Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-47406

@Initializer(after= InitMilestone.JOB_LOADED) race condition with "Cleaning up obsolete items deleted from the disk"

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None

      When using an @Initializer(after=InitMilestone.JOB_LOADED creating items, we end up with a race condition with the Cleaning up obsolete items deleted from the disk task if the latter is run after.

      It means in some cases, the items get created, and in others they are not in memory but are on filesystem.

          [JENKINS-47406] @Initializer(after= InitMilestone.JOB_LOADED) race condition with "Cleaning up obsolete items deleted from the disk"

          Vincent Latombe created issue -
          Vincent Latombe made changes -
          Description Original: When using an Initializer creating items, we may end up with a race condition with the _Cleaning up obsolete items deleted from the disk_ task if the latter is run after.

          New: When using an Initializer creating items, we may end up with a race condition with the _Cleaning up obsolete items deleted from the disk_ task if the latter is run after.
          Vincent Latombe made changes -
          Assignee New: Vincent Latombe [ vlatombe ]
          Vincent Latombe made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Vincent Latombe made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Vincent Latombe made changes -
          Remote Link New: This issue links to "PR #2524 (Web Link)" [ 17872 ]
          Vincent Latombe made changes -
          Description Original: When using an Initializer creating items, we may end up with a race condition with the _Cleaning up obsolete items deleted from the disk_ task if the latter is run after.
          New: When using an {{@Initializer(after=InitMilestone.JOB_LOADED}} creating items, we may end up with a race condition with the _Cleaning up obsolete items deleted from the disk_ task if the latter is run after.
          Vincent Latombe made changes -
          Description Original: When using an {{@Initializer(after=InitMilestone.JOB_LOADED}} creating items, we may end up with a race condition with the _Cleaning up obsolete items deleted from the disk_ task if the latter is run after.
          New: When using an {{@Initializer(after=InitMilestone.JOB_LOADED}} creating items, we end up with a race condition with the _Cleaning up obsolete items deleted from the disk_ task if the latter is run after.

          It means in some cases, the items get created, and in others they are not in memory but are on filesystem.
          Vincent Latombe made changes -
          Remote Link Original: This issue links to "PR #2524 (Web Link)" [ 17872 ]
          Vincent Latombe made changes -
          Remote Link New: This issue links to "PR #3078 (Web Link)" [ 17873 ]

            vlatombe Vincent Latombe
            vlatombe Vincent Latombe
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: