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

Remove use of _id in MigrationTypeand rely on ns_1_min_1 index instead

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.3.1
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-08-12

    Description

      MigrationType relies on genID (https://github.com/mongodb/mongo/blob/master/src/mongo/db/s/balancer/type_migration.h#L89) in its getName function. Remove any uses of genID, and thus getName, in favor or querying on the ns_1_min_1 index. 

      According to kaloian.manassiev here (https://mongodbcr.appspot.com/496100032/diff/476240012/src/mongo/db/s/balancer/type_migration.h#newcode89), this is only relevant to duplicate key handling.

      Attachments

        Activity

          People

            jamie.heppenstall@mongodb.com James Heppenstall (Inactive)
            jamie.heppenstall@mongodb.com James Heppenstall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: