movePrimary commit overwrites the whole config document

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-11-14
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Antonio Fuschetto
            Reporter:
            Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: