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

movePrimary commit overwrites the whole config document

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-11-14

    Description

      When the new primary shard is changed, the entire document in the config.databases collection, implicitly setting the unset fields to their default value, i.e., `partitioned` to `false`.

      This problem has no practical effect for end users since the `partitioned` filed it not longer used starting from `6.0` branch. However, this field must be properly managed until it is removed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: