-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
Sharding 17 (07/15/16), Sharding 18 (08/05/16)
Public command format:
{
updateZoneKeyRange: <string namespace>,
min: <BSONObj min>,
max: <BSONObj max>,
zone: <string zone|null>
}
Internal command format:
{
_configsvrUpdateZoneKeyRange: <string namespace>,
min: <BSONObj min>,
max: <BSONObj max>,
zone: <string zone|null>,
writeConcern: <BSONObj>
}
Requirements:
1. min < max.
2. zone should be an existing shard zone.
3. [min, max) should not overlap with existing zoned range.
Note:
- passing a null zone is for removing an existing zoned range [min, max) from it's existing zone. The [min, max) should exactly match a real zoned range, otherwise, it will be a no-op.
- is duplicated by
-
SERVER-22108 MongoDB does not raise an exception when creating tags with overlapping ranges.
- Closed