[SERVER-74086] Implement checks for consistent indexes across shards Created: 16/Feb/23  Updated: 29/Oct/23  Resolved: 07/Apr/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Task Priority: Major - P3
Reporter: Pol Pinol Assignee: Tommaso Tocci
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-72895 Implement shardKey index check in che... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2023-04-17
Participants:

 Description   

As part of the project, we have to implement the checks for consistent indexes. The main goal of this ticket to check that indexes are consistent across shards:

  • A sharded collection has an inconsistent index if the collection does not have the exact same indexes (including the index options) on each shard that contains chunks for the collection.
  • Inconsistent indexes can occur, when a user is creating an index with a unique key constraint and one shard contains a chunk with duplicate documents.


 Comments   
Comment by Githook User [ 07/Apr/23 ]

Author:

{'name': 'Tommaso Tocci', 'email': 'tommaso.tocci@mongodb.com', 'username': 'toto-dev'}

Message: SERVER-74086 Implement checks for consistent indexes across shards
Branch: master
https://github.com/mongodb/mongo/commit/433d451d20aec3bb84dedb4d0d983a3253f117e2

Generated at Thu Feb 08 06:26:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.