sh.removeShardTag()
On this page本页内容
Definition定义
sh.removeShardTag(shard, tag)
Changed in version 3.4.3.4版更改。This method aliases to此方法别名为MongoDB 3.4中的sh.removeShardFromZone()
in MongoDB 3.4.sh.removeShardFromZone()
。The functionality specified below still applies to MongoDB 3.2. MongoDB 3.4 provides Zone sharding as the successor to tag-aware sharding.下面指定的功能仍然适用于MongoDB 3.2。MongoDB 3.4提供了区域分片作为标记感知分片的继承。Removes the association between a tag and a shard.删除标记和分片之间的关联。Only issue仅在连接到sh.removeShardTag()
when connected to amongos
instance.mongos
实例时发出sh.removeShardTag()
。Parameter参数Type类型Description描述shard
string The name of the shard from which to remove a tag.要从中删除标记的分片的名称。tag
string The name of the tag to remove from the shard.要从分片中删除的标记的名称。TipSee also:另请参阅: