mirror of
https://github.com/google/nomulus.git
synced 2025-07-30 14:36:28 +02:00
In the future, reTransact() will be the only way to initiate a transaction that doesn't fail when called inside an outer wrapping transaction (when wrapped, it's a no-op). It should be used sparingly, with a preference towards refactoring the code to move transactions outwards (which this PR also contains). Note that this PR includes some potential efficiency gains caused by existing poor use of transactions. E.g. in the file RefreshDnsAction, the existing code was using two separate transactions to refresh the DNS for domains and hosts (one is hidden in loadAndVerifyExistence(), whereas now as of this PR it has a single wrapping transaction to do so. |
||
---|---|---|
.. | ||
src | ||
build.gradle | ||
buildscript-gradle.lockfile | ||
Dockerfile | ||
gradle.lockfile |