[SERVER-46119] Add a runtime server parameter to disable collection and index creation inside transactions. Created: 12/Feb/20  Updated: 29/Oct/23  Resolved: 09/Mar/20

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

Type: Task 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-13500 Investigate changes in SERVER-46119: ... Closed
Related
related to SERVER-46777 Remove v4.4-specific handling for col... Closed
is related to SERVER-46990 Setting shouldMultiDocTxnCreateCollec... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.4
Sprint: Execution Team 2020-03-09, Execution Team 2020-03-23
Participants:

 Description   

This server parameter can gate the feature similarly to FCV. We should be mindful of special cases, e.g., implicit collection creation, which have their own logic to prevent them from being run inside transactions.



 Comments   
Comment by Maria van Keulen [ 19/Mar/20 ]

SERVER-46990 fixes a bug with this server parameter's usage.

Comment by Githook User [ 09/Mar/20 ]

Author:

{'name': 'Andrew Chen', 'email': 'andrew.chen@10gen.com'}

Message: SERVER-46119: Added runtime server parameter to disable collection and index creation in multi document transactions.

create mode 100644 src/mongo/db/commands_in_multi_doc_txn_params.idl

(cherry picked from commit a3915ffe09112029bd195959345f2dcdb4b71ab5)

create mode 100644 src/mongo/db/commands_in_multi_doc_txn_params.idl
Branch: v4.4
https://github.com/mongodb/mongo/commit/a50e967e8732bbf77539c23807f208817e6fa49c

Comment by Githook User [ 09/Mar/20 ]

Author:

{'name': 'Andrew Chen', 'email': 'andrew.chen@10gen.com'}

Message: SERVER-46119: Added runtime server parameter to disable collection and index creation in multi document transactions.

create mode 100644 src/mongo/db/commands_in_multi_doc_txn_params.idl
Branch: master
https://github.com/mongodb/mongo/commit/a3915ffe09112029bd195959345f2dcdb4b71ab5

Comment by Connie Chen [ 09/Mar/20 ]

Re-assigning this to maria.vankeulen, so we can keep it on Execution's iteration board until completion, since andrew.chen has just changed new grad rotations. 

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