40
40
values:
41
41
kCollectionUUIDMismatch: "CollectionUUIDMismatch"
42
42
kCorruptedChunkShardKey: "CorruptedChunkShardKey"
43
+ kCorruptedZoneShardKey: "CorruptedZoneShardKey"
43
44
kHiddenShardedCollection: "HiddenShardedCollection"
44
45
kInconsistentIndex: "InconsistentIndex"
45
46
kMisplacedCollection: "MisplacedCollection"
@@ -49,13 +50,15 @@ enums:
49
50
kRoutingTableMissingMinKey: "RoutingTableMissingMinKey"
50
51
kRoutingTableRangeGap: "RoutingTableRangeGap"
51
52
kRoutingTableRangeOverlap: "RoutingTableRangeOverlap"
53
+ kZonesRangeOverlap: "ZonesRangeOverlap"
52
54
53
55
MetadataInconsistencyDescription:
54
56
description: "Description of each metadata inconsistency."
55
57
type: string
56
58
values:
57
59
kCollectionUUIDMismatch: "Found collection on non primary shard with mismatching UUID"
58
60
kCorruptedChunkShardKey: "Found chunk with a shard key pattern violation"
61
+ kCorruptedZoneShardKey: "Found zone with a shard key pattern violation"
59
62
kHiddenShardedCollection: "Found sharded collection but relative database does not exist"
60
63
kInconsistentIndex: "Found an index of a sharded collection that is inconsistent between different shards"
61
64
kMisplacedCollection: "Unsharded collection found on shard different from database primary shard"
65
68
kRoutingTableMissingMinKey: "Routing table has a gap because first chunk does not start from MinKey"
66
69
kRoutingTableRangeGap: "Found a gap between two consecutive chunks"
67
70
kRoutingTableRangeOverlap: "Found two overlapping consecutive chunks"
71
+ kZonesRangeOverlap: "Found two overlapping zones"
68
72
69
73
MetadataConsistencyCommandLevel:
70
74
description: "Level mode of the metadata consistency command."
@@ -213,6 +217,24 @@ structs:
213
217
type: object
214
218
description: "The shard key pattern of the collection."
215
219
220
+ CorruptedZoneShardKeyDetails:
221
+ description: "Details about a corrupted zone shard key inconsistency."
222
+ strict: false
223
+ fields:
224
+ namespace:
225
+ cpp_name: nss
226
+ type: namespacestring
227
+ description: "The namespace of the collection."
228
+ collectionUUID:
229
+ type: uuid
230
+ description: "The UUID of the collection."
231
+ zone:
232
+ type: object
233
+ description: "The zone with a corrupted shard key."
234
+ shardKeyPattern:
235
+ type: object
236
+ description: "The shard key pattern of the collection."
237
+
216
238
HiddenShardedCollectionDetails:
217
239
description: "Details about a hidden sharded collection inconsistency."
218
240
strict: false
@@ -249,6 +271,24 @@ structs:
249
271
type: uuid
250
272
description: "The UUID of the collection."
251
273
274
+ ZonesRangeOverlapDetails:
275
+ description: "Details about a zones range overlap inconsistency."
276
+ strict: false
277
+ fields:
278
+ namespace:
279
+ cpp_name: nss
280
+ type: namespacestring
281
+ description: "The namespace of the collection."
282
+ collectionUUID:
283
+ type: uuid
284
+ description: "The UUID of the collection."
285
+ zoneA:
286
+ type: object
287
+ description: "The first zone that overlaps with the second zone."
288
+ zoneB:
289
+ type: object
290
+ description: "The second zone that overlaps with the first zone."
291
+
252
292
MetadataInconsistencyItem:
253
293
description: "Object representing a single metadata inconsistency found in a specific shard"
254
294
strict: false
0 commit comments