[SERVER-44849] Allow createIndexes inside multi-document transactions if on an empty collection created in the same transaction or on a non-existing collection Created: 26/Nov/19  Updated: 29/Oct/23  Resolved: 04/Feb/20

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 4.3.4

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:
Depends
depends on SERVER-44405 Use MODE_IX lock for implicit collect... Closed
Related
related to SERVER-46229 setting multikey on index fails if in... Closed
related to SERVER-57928 create_collection.js should use a de... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2019-12-30, Execution Team 2020-01-27, Execution Team 2020-02-10
Participants:
Linked BF Score: 10

 Description   

This ticket builds upon the work in SERVER-44405



 Comments   
Comment by Githook User [ 03/Feb/20 ]

Author:

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

Message: SERVER-44849 Allow new index creation inside multi-document transactions

New index creation is permissible inside of a multi-document
transaction if the collection on which the index is created does not
predate the start of the transaction and is empty.
Branch: master
https://github.com/mongodb/mongo/commit/860b5fdf681581e211d3be50bfc67007c81530a9

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