-
Type: Improvement
-
Resolution: Fixed
-
Priority: Blocker - P1
-
Affects Version/s: None
I've got examples written up here:
http://askasya.com/post/taggedcollectionbalancing
It can be used to limit sharded collection to shards with specific tag.
It can be used to limit a "sharded" collection to a single shard.
It can even be a work-around to not having a moveCollection command (tag it to the shard you want to move it to, shard it, let the balancer do the work).
We should also remove the note about it not being supported for hashed index - it works and should be supported for hashed index as long as the range being tagged is MinKey to MaxKey (to limit the use of tags on ranges for hashed since it's meaningless to specific any other sub-range of hashed key).