[SERVER-21951] Migration receiver thread should not acquire X lock on the database Created: 18/Dec/15  Updated: 21/Dec/15  Resolved: 21/Dec/15

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.0.9, 3.2.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Kaloian Manassiev Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

This is a regression due to a previous change to fix SERVER-21366. The AutoGetCollection class acquires both the DB and collection locks in the same mode (MODE_X), but we shouldn't be taking the database lock in X-mode.



 Comments   
Comment by Kaloian Manassiev [ 21/Dec/15 ]

The original change, which introduced this bug has been reverted as unnecessary, so closing this ticket.

Generated at Thu Feb 08 03:58:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.