-
Type: Task
-
Resolution: Won't Fix
-
Priority: Major - P3
-
Affects Version/s: None
-
Labels:None
From MongoDB 3.4, we use the term Shard Zones rather than Tag-aware Shardings. So for the document Manage Shard Zones, it would be better to change the following shell helpers related to Tags to Zones for documents on 3.4 or above:
- sh.addShardTag() to sh.addShardToZone().
- removeShardTag() to sh.removeShardFromZone()
- sh.addTagRange() to sh.updateZoneKeyRange()
Note: the above command pairs for tag and Zone are alias in MongoDB 3.4. So the shell helpers for tags still work on MongoDB 3.4, but it would be nice to switch to the shell helpers for Zones to avoid any confusion.
Note: The section Remove a Zone Range has been updated to use the shell helper sh.removeRangeFromZone() already.
- links to