reshardCollection doesn't preserve "allowMigrations" field

XMLWordPrintableJSON

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

      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 reshardCollection preserve "permitMigrations" or "allowMigrations" when we merge the fields in SERVER-61033

              Assignee:
              Unassigned
              Reporter:
              Cheahuychou Mao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: