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

setAllowMigrations should return an error in case of moved collection

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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@mongodb.com Adi Zaimi
            Reporter:
            renato.riccio@mongodb.com Renato Riccio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: