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

Better synchronization between collection shard and drop

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.4.6, 3.5.9
    • Sharding
    • ALL
    • Sharding 2017-07-31
    • 0

    Description

      Currently, the 'shardCollection' command's checking/refresh phase is not protected by a distributed lock.

      This means that while that phase is performing a refresh, a concurrent drop can wipe out the chunks from underneath. Moving the distributed lock acquisition to happen inside the command itself should take care of this problem.

      Attachments

        Activity

          People

            kaloian.manassiev@mongodb.com Kaloian Manassiev
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: