[SERVER-33726] make reIndex command use AutoGetDb to take DBLock rather than taking DBLock directly Created: 07/Mar/18  Updated: 29/Oct/23  Resolved: 07/Mar/18

Status: Closed
Project: Core Server
Component/s: Sharding, Storage
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Sharding 2018-03-12
Participants:

 Description   

This change will ensure the client's databaseVersion is checked for reIndex, because checkDbVersion() is called by AutoGetDb.

Most commands already use AutoGetDb to take the DBLock; it looks like reIndex had just not been updated to do so.



 Comments   
Comment by Githook User [ 07/Mar/18 ]

Author:

{'email': 'esha.maharishi@mongodb.com', 'name': 'Esha Maharishi', 'username': 'EshaMaharishi'}

Message: SERVER-33726 make reIndex command use AutoGetDb to take DBLock rather than taking DBLock directly
Branch: master
https://github.com/mongodb/mongo/commit/4d2ca242fb7b9a28d1123831db99664eb0db3e23

Generated at Thu Feb 08 04:34:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.