Consider throwing an error if ShardDistributionSplitPolicy includes draining shards

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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:
              Jane Tio
              Reporter:
              Randolph Tan
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: