不一致のタイプ
バージョン 7.0 で追加。
The checkMetadataConsistency
command performs a series of consistency
checks on sharding metadata and indexes and returns an array of inconsistency
documents.
Inconsistency Type | 説明 |
---|---|
A collection contains mismatching options across different shards. バージョン8.0の新機能。 | |
コレクションは、 バージョン 7.0 で追加。 | |
The routing table contains a chunk with a min key or max key that doesn't correspond to the collection shard key. バージョン 7.0 で追加。 | |
The routing table contains a zone with a min key or max key that doesn't correspond to the collection shard key. バージョン 7.0 で追加。 | |
A collection is registered in the バージョン 7.0 で追加。 | |
インデックスが異なるメタデータを含む 2 つの異なるシャードに存在するか、一部のシャードで特定のインデックスが欠落している。 バージョン 7.0 で追加。 | |
コレクションはシャーディングカタログに登録されていますが、対応するシャードには存在しません。 バージョン8.0の新機能。 | |
シャーディングされたコレクションには、ルーティング テーブルがなくても存在します。 バージョン 7.0 で追加。 | |
A sharded collection exists that doesn't have an index compatible with the collection shard key. バージョン 7.0 で追加。 | |
ルーティング テーブルに範囲ギャップが存在します。 ルーティング テーブルの最後のチャンク境界が最大キー値に達していません。 バージョン 7.0 で追加。 | |
A range gap exists in the routing table. The first chunk does not start from the minimum key value. バージョン 7.0 で追加。 | |
ルーティング テーブルには、同じコレクションの連続する 2 つのチャンク間に範囲ギャップが存在します。 バージョン 7.0 で追加。 | |
コレクションのルーティング テーブルには、重複するシャードキー範囲を持つ 2 つのチャンクが含まれています。 バージョン 7.0 で追加。 | |
A shard is missing routing information for a collection. バージョン8.0の新機能。 | |
シャーディングされていないコレクションには、無効なシャードキーがあります。 バージョン8.0の新機能。 | |
An unsharded collection contains multiple chunks. バージョン8.0の新機能。 | |
Overlapping zones exist for the same collection. バージョン 7.0 で追加。 |