setAllowMigrations should return an error in case of moved collection

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • v8.1, v8.0
    • ClusterScalability Mar31-Apr14
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In case setAllowMigrations is invoked on an unsharded moved collection the command should return the same error as returned on "not-moved" unsharded collection

      MongoServerError[NamespaceNotSharded]: Collection must be sharded so migrations can be blocked
      

            Assignee:
            Adi Zaimi
            Reporter:
            Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: