-
Notifications
You must be signed in to change notification settings - Fork 102
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
Outside of Transactions, always use single-use transactions #347
Comments
i am not sure what is covered within "always use single-use transactions".. could u provide more information |
This refers back to #16 (comment) |
reading through another bug, i noticed there is a heavy usage of singleUse within node library. |
For the write methods, I think that should be fine (@callmehiphop ?) Regarding this question: #16 (comment) -- what do you think? |
@snehashah16 we could probably use a refactor to make the code clearer, but only the Table object makes heavy use of single use transactions. All writes done via Transactions actually use the begin > commit workflow. As for
|
@callmehiphop @crwilcox |
@snehashah16 I reviewed our methods to determine the ones that read and the ones that write: Database
Table
I've sent a PR that will do 2 things when complete:
That PR is in progress here: #361. Please let me know if the above plan is correct. |
The work is done: #361 Step 2 wasn't necessary. By default, single-use, read-only, strong-concurrency transactions are used for |
RE: #16 (comment)
And default
strong: true
to enable strong reads.@snehashah16 -- correct?
The text was updated successfully, but these errors were encountered: