[SERVER-50484] Support view creation in multi-document transactions Created: 24/Aug/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: Catalog, Replication, Sharding
Affects Version/s: 4.4.0
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Xiaoqiang Zhou Assignee: Backlog - Storage Execution Team
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Storage Execution
Participants:

 Description   

I'm getting the following error message when creating view inside a transaction

pymongo.errors.OperationFailure: Cannot create a view in a multi-document transaction.

Any reason why view can't be created in a transaction (Given index and collection can now be created in a transaction)?



 Comments   
Comment by Xiaoqiang Zhou [ 28/Aug/20 ]

That would be great, thanks. @Eric Sedor

Comment by Eric Sedor [ 27/Aug/20 ]

Thanks for writing xiaoqiang.chou@gmail.com, this is an improvement we can consider. I'm passing it on to an appropriate team.

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