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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0.0-rc0
    • Component/s: Sharding
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Linked BF Score:
      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

            Assignee:
            jordi.serra-torrens Jordi Serra Torrens
            Reporter:
            jordi.serra-torrens Jordi Serra Torrens
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: