[SERVER-66864] Add index version checks to versioning protocol Created: 30/May/22  Updated: 29/Oct/23  Resolved: 06/Feb/23

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

Type: Task Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Allison Easton
Resolution: Fixed Votes: 0
Labels: PM-2583-Milestone-2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-72479 Index version not properly parsed in ... Closed
depends on SERVER-70132 Handle FCV transitions for global ind... Closed
depends on SERVER-70795 Modify rename to update the index cat... Closed
depends on SERVER-70828 Modify resharding to update the index... Closed
depends on SERVER-70922 Modify drop collection to clear the s... Closed
is depended on by SERVER-72323 Improve the first refresh of a stale ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-10-03, Sharding EMEA 2022-10-17, Sharding EMEA 2022-10-31, Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28, Sharding EMEA 2022-12-12, Sharding EMEA 2022-12-26, Sharding EMEA 2023-01-23, Sharding EMEA 2023-02-06
Participants:

 Description   

As part of the shard versioning protocol, we check if the shard version received is compatible with the current shard version of the shard we must also add the check for the index version component and add to the StaleConfigInfo information the received and wanted index version, so the caller can know if needs to:

  • Do a refresh on the collection and chunks metadata
  • Do a refresh on the index metadata
  • Refresh both

We should also add checks to the service entry point and the scoped operation completion actions to prevent retrying after running onCollectionPlacementVersionMismatch if the index version is stale.



 Comments   
Comment by Githook User [ 06/Feb/23 ]

Author:

{'name': 'Allison Easton', 'email': 'allison.easton@mongodb.com', 'username': 'allisoneaston'}

Message: SERVER-66864 Add index version checks to versioning protocol
Branch: master
https://github.com/mongodb/mongo/commit/5b2fe7d1a17dbee9ab5ce3cf865415d72aeeb90c

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