Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrap Insertions of Resources with Transactions #494

Open
MichaelZhao21 opened this issue Jun 13, 2022 · 1 comment
Open

Wrap Insertions of Resources with Transactions #494

MichaelZhao21 opened this issue Jun 13, 2022 · 1 comment
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

Comments

@MichaelZhao21
Copy link
Member

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

@MichaelZhao21 MichaelZhao21 added Type: New Feature New feature or request Arc: Backend Backend development Status: Needs Triage Issue needs to be assigned Priority: Medium Medium priority items (everything else is low) labels Jun 13, 2022
@MichaelZhao21 MichaelZhao21 changed the title Wrape Insertions of Resources with Transactions Wrap Insertions of Resources with Transactions Jun 15, 2022
@MichaelZhao21 MichaelZhao21 self-assigned this Jun 15, 2022
@github-actions github-actions bot added Status: In Progress Issue that is currently being worked on and removed Status: Needs Triage Issue needs to be assigned labels Jun 15, 2022
@MichaelZhao21 MichaelZhao21 removed their assignment Jul 25, 2022
@github-actions github-actions bot added Status: Needs Triage Issue needs to be assigned and removed Status: In Progress Issue that is currently being worked on labels Jul 25, 2022
@MichaelZhao21
Copy link
Member Author

Also fix up the inconsistent error checking between requests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

1 participant