Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-3965

Improve Concurrency of Build Update Operations

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      There is currently the opportunity for race conditions to occur when updating build results. Builds read from session can sit a while before being saved and when saved will overwrite any changes that occurred in the mean time.

      See http://jira.atlassian.com/browse/BAM-3949 for a nice example of the problems it can cause...

      The idea behind this task is to move all core operations that occur on a build to the build manager/dao to be performed in a similar way to the way we increment the next build number (i.e safer).
      Key candidates for moving include:

      • Setting first and last build number
      • The suspended from building (maybe)
      • I would also check the vcs revision key, for concurrency issues, though it already gets updated within the build manager.

      We have implemented dynamic updates to reduce the probability that these problems can occur and the build does not actually get updated that often so the risks are quite low, however it still should get looked at.

            Unassigned Unassigned
            bmccoy bmccoy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: