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

Orphans check at the end of jstest can fail in presence of concurrent drop collection

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • 35

    Description

      If the orphans check runs concurrently with the drop, finds an entry in config.collections here, but later it queries config.collections again as part of findChunksUtil.findChunksByNs (to decide whether to join the config.chunks by 'ns' or 'uuid'), but now the collection entry has already been deleted by the drop, so it fails.

      Attachments

        Activity

          People

            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            jordi.serra-torrens@mongodb.com Jordi Serra Torrens
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: