Description
On this doc page, the example starting at "If you wanted to create a range on values of b only, you must specify the entire range of a when creating ranges." is wrong. If you try this you will get an overlapping ranges error.
Please find attached a short mongo shell script that demonstrates the example, it fails on the last command with
"Zone range: { a: MinKey, b: 10.0 } -->> { a: MaxKey, b: 20.0 } on beta is overlapping with existing: { a: MinKey, b: 1.0 } -->> { a: MaxKey, b: 10.0 } on alpha"
|
Suggest removing the example, as it is not possible to create a range of values on b only with this shard key.
Scope of changes
Impact to Other Docs
MVP (Work and Date)
Resources (Scope or Design Docs, Invision, etc.)
|