-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Server
-
0.5
----------------------------
Original Description
https://docs.mongodb.com/manual/core/zone-sharding/#zones
In the example, document
{ x : 23 }ends up on shard "Charlie". This is indeed possible. But it is not the only possibility. My testing showed that in the case of documents not covered by any of the configured tag ranges, those documents will be balanced among all shards – those with and without a tag. So the
{ x : 23 }could end up on shard "Charlie". But it could end up on "Alpha" or "Beta", too. Showing it on "Charlie" incorrectly implies that it could only end up there, which is not correct.
Documents (again, per my testing) not falling in any tag range end up on shards with and without tags, not only on shards without tag. The example should make that clear – i.e, by showing document
{ x :25 }on shard alpha, and explaining why that happens.
----------------------------