Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-58020

cache-dir: prevent same buildsig with different content race condition

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.2, 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • v5.0
    • Dev Platform 2021-06-28, Dev Platform 2021-07-12, Dev Platform 2021-07-26

      A race condition has been found where two builders will push the same file to the cache at the same time with the same build sig in the cache, but have different file contents. The cachefile itself is protected from the race via the cache dir UUID tmpfile, but the content_hash file is not protected.

            Assignee:
            daniel.moody@mongodb.com Daniel Moody
            Reporter:
            daniel.moody@mongodb.com Daniel Moody
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: