[SERVER-60253] Ensure that a collection lock is held when pushing down $group Created: 27/Sep/21  Updated: 29/Oct/23  Resolved: 28/Sep/21

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

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

Backwards Compatibility: Fully Compatible
Sprint: QE 2021-10-04
Participants:

 Description   

Normally, to run queries, we use AutoGetCollectionForReadCommandMaybeLockFree or similar interfaces in order to acknowledge that we are holding the collection lock. However, in db_s_config_server_test, we don't use this interface. Therefore, we trip an invariant failure.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 28/Sep/21 ]

Author:

{'name': 'Eric Cox', 'email': 'eric.cox@mongodb.com', 'username': 'ericox'}

Message: SERVER-60253 Ensure that a collection lock is held when pushing down group
Branch: master
https://github.com/mongodb/mongo/commit/8ab09b72fbd807ff03a9f6a7d538d0335478c9c6

Generated at Thu Feb 08 05:49:20 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.