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

Do not automatically retry the _shardsvrCloneCatalogData command

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • None
    • Sharding
    • None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-03-06
    • 152

    Description

      The donor shard of the movePrimary invokes the _shardsvrCloneCatalogData command to ask the recipient to clone the unsharded collections of the given database. 
      This command is not idempotent, and the entire cloning phase of the movePrimary would be repeated after cleaning up any orphaned data on the recipient, the command must be invoked once.

      With SERVER-73812, the _shardsvrCloneCatalogData command was called just one time, leaving to the coordinator infrastructure the burden of trying it again.

      Nevertheless this change was reverted by mistake SERVER-73112 (i.e., Avoid constructing global namespaces directly).

      Attachments

        Activity

          People

            antonio.fuschetto@mongodb.com Antonio Fuschetto
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: