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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.2, 5.1.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v5.0
    • Dev Platform 2021-06-28, Dev Platform 2021-07-12, Dev Platform 2021-07-26

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: