[SERVER-61201] Creating a view can lead to a deadlock Created: 02/Nov/21  Updated: 29/Oct/23  Resolved: 01/Dec/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0, 5.0.6

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

Issue Links:
Backports
Depends
Problem/Incident
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.1, v5.0, v4.4, v4.2
Sprint: Execution Team 2021-11-29, Execution Team 2021-12-13
Participants:
Linked BF Score: 29

 Comments   
Comment by Githook User [ 04/Jan/22 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-61201 Prevent deadlock when user tries to create a view on the database system.views collection

(cherry picked from commit dfce26e49c0c124db64cab66036bfd92388fc31d)
Branch: v5.0
https://github.com/mongodb/mongo/commit/60af56dfe1a17c60bbd628163fda0a161105b6c0

Comment by Githook User [ 01/Dec/21 ]

Author:

{'name': 'Dianna Hohensee', 'email': 'dianna.hohensee@mongodb.com', 'username': 'DiannaHohensee'}

Message: SERVER-61201 Prevent deadlock when user tries to create a view on the database system.views collection
Branch: master
https://github.com/mongodb/mongo/commit/dfce26e49c0c124db64cab66036bfd92388fc31d

Comment by Gregory Noma [ 09/Nov/21 ]

One option is to just disallow creating a view on the views collection.

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