You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Convert the datastore write "pauser" to be a "transaction"
This is to mitigate the possibilty of race conditions when writing multiple values and trying to read one of them. For example:
thread 1: begin transaction
thread 1: write is_account=true
thread 2: read is_account and account_username; get true and ""
thread 1: write account_username="blah"
thread 1: commit (or roll back)
The new implementation will require thread 2 to wait until thread 1 has finished its transaction.