[SERVER-47400] createCollection/createIndexes are permitted to write to system collections inside transactions Created: 07/Apr/20  Updated: 29/Oct/23  Resolved: 10/Apr/20

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0

Type: Bug Priority: Major - P3
Reporter: Maria van Keulen Assignee: Maria van Keulen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-13584 Investigate changes in SERVER-47400: ... Closed
Related
is related to SERVER-34157 Prevent writes to system collections ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Execution Team 2020-04-20
Participants:

 Description   

Write ops and findAndModify prevent writes to system collections inside transactions.

Similar restrictions should be put on createCollection and createIndexes.



 Comments   
Comment by Githook User [ 14/Apr/20 ]

Author:

{'name': 'Maria van Keulen', 'email': 'maria@mongodb.com', 'username': 'mvankeulen94'}

Message: SERVER-47400 Disallow createCollection/Indexes on system colls in txns

(cherry picked from commit 76d4548a751a56c8faf1887114685b540203a650)
Branch: v4.4
https://github.com/mongodb/mongo/commit/8527f47556d07c22c79f79408238e64f7695decf

Comment by Githook User [ 10/Apr/20 ]

Author:

{'name': 'Maria van Keulen', 'email': 'maria@mongodb.com', 'username': 'mvankeulen94'}

Message: SERVER-47400 Disallow createCollection/Indexes on system colls in txns
Branch: master
https://github.com/mongodb/mongo/commit/76d4548a751a56c8faf1887114685b540203a650

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