[DOCS-3296] tag aware sharding: document use case of limiting a collection to one or several shards Created: 29/Apr/14  Updated: 30/Oct/23  Resolved: 27/Jul/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Asya Kamsky Assignee: Andrew Aldridge
Resolution: Won't Fix Votes: 0
Labels: sharding
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 7 years, 29 weeks ago

 Description   

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).



 Comments   
Comment by Emily Hall [ 27/Jul/16 ]

Closed for housekeeping on 7/27/2016 by Emily Hall.
If you require additional support, please open a new ticket for prioritization.
Thanks,
Emily

Generated at Thu Feb 08 07:45:25 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.