sh.removeShardTag()
定義
sh.removeShardTag(shard, tag)
注意
このメソッドは
sh.removeShardFromZone()
のエイリアスになります。 MongoDB は、タグ対応シャーディングの継承としてゾーン シャーディングを提供します。Removes the association between a tag and a shard. Only issue
sh.removeShardTag()
when connected to amongos
instance.Parameterタイプ説明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.
互換性
このメソッドは、次の環境でホストされている配置で使用できます。
MongoDB Atlas はクラウドでの MongoDB 配置のためのフルマネージド サービスです
重要
このコマンドは、M0 、M2 、M5 、および Flex クラスターではサポートされていません。詳細については、「 サポートされていないコマンド 」を参照してください。
MongoDB Enterprise: サブスクリプションベースの自己管理型 MongoDB バージョン
MongoDB Community: ソースが利用可能で、無料で使用できる自己管理型の MongoDB のバージョン