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

Automatically Remove Zone Ranges When Unsharding a Collection

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 8.0.4
    • Component/s: None
    • Cluster Scalability

      Today when a customer unshards a collection that has a zone definition the unshard command fails.

      MongoServerError: Specified zones and shardDistribution are conflicting with the existing shard/zone, shard configdoesn't belong to zone zone_two 

      It would be better if the system automatically removed the zone configuration for the collection as unsharded collections cannot have zone configurations and saves the customer time of manually removing the zone information.

      This change should come with a docs update that states unsharding a collection will remove any zone configuration for the namespace if configured.

            Assignee:
            Unassigned Unassigned
            Reporter:
            matt.panton@mongodb.com Matt Panton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: