sh.removeShardTag()

sh.removeShardTag(shard, tag)

2.2 新版功能.

参数:
  • shard (string) – Specifies the name of the shard that you want to remove a tag from.
  • tag (string) – Specifies the name of the tag that you want to remove from the shard.

Removes the association between a tag and a shard.

Always issue sh.removeShardTag() when connected to a mongos instance.

MongoDB Manual (Index)

关于

生态系统

格式

资源