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

Ensure there is routing metadata before doing range deletion in moveChunk

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.6.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • ALL
    • Sharding 2017-09-11, Sharding 2017-10-02
    • 0

    Description

      Migration fails to refresh metadata after a successful migration commit because the config server is shutting down. This is logged here. This failed remote metadata refresh causes the chunk metadata to get cleared. However, this code here is returning a successful migration commit status, so the shard moveChunk command continues on to do range deletion like everything is fine. And then MetadataManager::cleanUpRange invariants because there is no chunk metadata.

      Attachments

        Activity

          People

            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: