[SERVER-47469] applyOps does not take exclusive lock for views operation Created: 10/Apr/20  Updated: 29/Oct/23  Resolved: 05/Jun/20

Status: Closed
Project: Core Server
Component/s: Querying
Affects Version/s: None
Fix Version/s: 4.7.0, 4.2.10, 4.4.2

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Charlie Swanson
Resolution: Fixed Votes: 0
Labels: qopt-team, read-only-views
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Problem/Incident
is caused by SERVER-37283 View graph cycle on expressive lookup... Closed
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4, v4.2
Sprint: Query 2020-05-04, Query 2020-05-18, Query 2020-06-01, Query 2020-06-15
Participants:
Case:

 Description   

In SERVER-37283 views operations started taking exclusive locks rather than intent locks. applyOps operations missed the fix though.



 Comments   
Comment by Githook User [ 18/Sep/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-47469 Upgrade lock mode for applyOps + system.views

(cherry picked from commit bd74e903563e9c12bbaf3a027a8dc39ae6a1613d)
(cherry picked from commit bf7268ee79e5561032114b37cc0fcadf72dc8e54)
Branch: v4.2
https://github.com/mongodb/mongo/commit/44cdf92db0e1ebcbf0e00fa4ca3234854db14347

Comment by Githook User [ 11/Sep/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-47469 Upgrade lock mode for applyOps + system.views

(cherry picked from commit bd74e903563e9c12bbaf3a027a8dc39ae6a1613d)
Branch: v4.4
https://github.com/mongodb/mongo/commit/bf7268ee79e5561032114b37cc0fcadf72dc8e54

Comment by Githook User [ 05/Jun/20 ]

Author:

{'name': 'Charlie Swanson', 'email': 'charlie.swanson@mongodb.com', 'username': 'cswanson310'}

Message: SERVER-47469 Upgrade lock mode for applyOps + system.views
Branch: master
https://github.com/mongodb/mongo/commit/bd74e903563e9c12bbaf3a027a8dc39ae6a1613d

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