[SERVER-71236] Removal of index version in config.collections should not be ordered Created: 10/Nov/22  Updated: 29/Oct/23  Resolved: 15/Nov/22

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-11-14, Sharding EMEA 2022-11-28
Participants:

 Description   

During FCV downgrade, we remove all of the global indexes extra collections as well as removing the index version field on config.collections. The update to config.collections does not specify whether the update is ordered or not, which means it uses the default of true. We should explicitly use ordered = false since we do not care about the ordering and ordered updates are slower.



 Comments   
Comment by Githook User [ 15/Nov/22 ]

Author:

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

Message: SERVER-71236 Removal of index version in config.collections should not be ordered
Branch: master
https://github.com/mongodb/mongo/commit/49d34008db892e6a89498ecdd68fcd26e1d7ffab

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