[DOCS-13584] Investigate changes in SERVER-47400: createCollection/createIndexes are permitted to write to system collections inside transactions Created: 10/Apr/20  Updated: 13/Nov/23  Resolved: 25/Aug/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.4.0-rc2, 4.7.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Ian Fogelman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-47400 createCollection/createIndexes are pe... Closed
Participants:
Days since reply: 2 years, 24 weeks ago
Epic Link: DOCSP-15042
Story Points: 2

 Description   

Description

Downstream Change Summary

As of this ticket, the create command and createIndexes command will fail inside a multi-document transaction if these commands attempt to operate on a system collection. This is consistent with other write commands, which are similarly disallowed from writing to system collections inside multi-document transactions.

Description of Linked Ticket

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

Similar restrictions should be put on createCollection and createIndexes.

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 25/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-13584 Add reference that commands fail against system collections in 4.4 notes
Branch: master
https://github.com/mongodb/docs/commit/bc82b621b0a6622e87d69307ab07d0cf86297219

Comment by Githook User [ 25/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-13584 Add reference that commands fail against system collections in 4.4 notes
Branch: v5.0
https://github.com/mongodb/docs/commit/26054f94e7a5e3899e39fcd7a32dc656026b39ba

Comment by Githook User [ 25/Aug/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-13584 Add reference that commands fail against system collections in 4.4 notes
Branch: v4.4
https://github.com/mongodb/docs/commit/2d58ab935abb11336de981b0a60f28e82fd4fa70

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