-
Notifications
You must be signed in to change notification settings - Fork 118
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
DisableTransactions in MongoDB, debugging Cosmos DB for MongoDB #215
Comments
Thanks. Can you check it and let me know that it's ok? |
Yes! { disableTransactions: true } works now! I still got the following error from Cosmos DB if I set disableTransaction to false.
According to Cosmos DB for MongoDB documentation: I'm using Cosmos DB 4.2 API, and unsharded collection. However, two simple reading operations from a static backendMethod cause Cosmos DB to trigger the error. I guess, I won't be able to use transactions, cause any backendMethod just reading more than one collection will fail. |
Are you still getting the error?
…On Tue, Jul 25, 2023 at 14:26 Elier Delgado ***@***.***> wrote:
Closed #215 <#215> as completed.
—
Reply to this email directly, view it on GitHub
<#215 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD65PUZ5MU7ODMKA5NXZN5LXR6UM3ANCNFSM6AAAAAA2WMHCJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
No, if I set disableTransaction to true, all works fine. |
Perfect - I thought you had another error - I'm happy that you don't.
Cheers
…On Tue, Jul 25, 2023 at 3:16 PM Elier Delgado ***@***.***> wrote:
No, if I set disableTransaction to true, all works fine.
—
Reply to this email directly, view it on GitHub
<#215 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AD65PU3Z7NIPW3BP7JT2B2LXR62KZANCNFSM6AAAAAA2WMHCJQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Describe the bug
Not sure if the DisableTransactions option is being taken into consideration when passed, in the code it looks like hardcode to false, and never used:
remult/projects/core/remult-mongo.ts
Line 37 in fc2f5c6
My code:
I wanted to disable transactions because I'm getting the following error:
The text was updated successfully, but these errors were encountered: