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

reshardCollection doesn't preserve "allowMigrations" field

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • ALL

      reshardCollection doesn't preserve "allowMigrations". It sets "allowMigrations" to false when resharding starts and unsets it after resharding commits.. This turns out to be harmless because of the setAllowMigrations command currently sets "permitMigrations" not "allowMigrations" so the user "permitMigrations" setting is untouched by resharding. However, we need to make reshardColletion preserve "permitMigrations" or "allowMigrations" when we merge the fields in SERVER-61033

            Assignee:
            Unassigned Unassigned
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: