Wrap Insertions of Resources with Transactions #494
Labels
Arc: Backend
Backend development
Priority: Medium
Medium priority items (everything else is low)
Status: Needs Triage
Issue needs to be assigned
Type: New Feature
New feature or request
Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
Wrap insertions of resources with a transaction due to the fact that we insert into multiple collections at once (resource and history). For more information on ACID Transactions, see the MongoDB website: https://www.mongodb.com/transactions. Mongoose provides an API for transactions here: https://mongoosejs.com/docs/transactions.html
Describe alternatives you've considered
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: