mirror of
https://github.com/google/nomulus.git
synced 2025-08-27 11:33:49 +02:00
It turns out that disallowing all nested transaction is impractical. So in this PR we make it possible to run nested transactions (which are not really nested as far as SQL is concerned, but rather lexically nested calls to tm().transact() which will NOT open new transactions when called within a transaction) as long as there is no conflict between the specified isolation levels between the enclosing and the enclosed transactions. Note that this will change the behavior of calling tm().transact() with no isolation level override, or a null override INSIDE a transaction. The lack of the override will allow the nested transaction to run at whatever level the enclosing transaction runs at, instead of at the default level specified in the config file. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
buildscript-gradle.lockfile | ||
Dockerfile | ||
gradle.lockfile |