DescriptionFix races in txnBuf
Runs clean with `-cpu=2,4 -race` now. It's also a lot clearer to follow the
logic now. No more 'siblingLock'. At the time that each recursive transaction
starts it locks (in the normal way!). It then keeps a reference to the parent
layer with the locks disabled for its internal usage.
This refactor makes it so that all (interacting) operations at a given 'layer'
in a transaction are mutually exclusive. Previously only nested transactions
would be mutually exclusive.
R=dnj@chromium.org, estaab@chromium.org, vadimsh@chromium.org
BUG=
Committed: https://github.com/luci/gae/commit/6a79257cdd6c624326829b679d4b548ef1123942
Patch Set 1 #
Total comments: 11
Patch Set 2 : fix stuff #
Depends on Patchset: Messages
Total messages: 7 (2 generated)
|