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

ShardingStateRecovery::recover cleanup should not wait for replication

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.2.7, 3.3.9
    • 3.2.9, 3.3.10
    • Sharding
    • Fully Compatible
    • ALL
    • Sharding 17 (07/15/16)

    Description

      Upon success the ShardingStateRecovery::recover call tries to cleanup the recovery document and uses majority write concern to do that. This method is called at the end of draining mode, but still under the global X lock and as a result it will never replicate and will stall leaving the draining mode.

      Instead, ShardingStateRecovery::recover should use local-only write concern.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: