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

Change FCV check to check for CommandNotFound in _shardsvrShardCollection and write to config after creating collections on non-primary shards

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.0.3, 4.1.3
    • Sharding
    • None
    • Fully Compatible
    • v4.0
    • Sharding 2018-08-27, Sharding 2018-09-10, Sharding 2018-09-24
    • 26

    Description

      We are backporting the changes to shardCollection so should remove the FCV check in 4.2. Instead we should check if the command failed with CommandNotFound, and if so run the old logic. We should also move writing to the config and catalog to after we send _cloneCollectionOptionsFromPrimaryShard to the other non-primary shards so that if any of them fail, we can retry the command running the old path.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: