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

Consider throwing an error if ShardDistributionSplitPolicy includes draining shards

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

      We added logic on the other split policy to exclude draining shards when creating new chunks, but we don't appear to verify stuff that are directly handed to the ShardDistributionSplitPolicy. This affects moveCollection with toShard specified. reshardCollection doesn't check if the toShard is a draining shard after it receives this information from moveCollection. 

            Assignee:
            randolph@mongodb.com Randolph Tan
            Reporter:
            randolph@mongodb.com Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: