google-nomulus/core
Michael Muller 214b23e99c
Ignore read-only when saving commit logs (#1584)
* Ignore read-only when saving commit logs

Ignore read-only when saving commit logs and commit log mutations so that we
can safely replicate in read-only mode.  This should be safe, as we only ever
to the situation of saving commit logs and mutations when something has
already actually been modified in a transaction, meaning that we should have hit
the "read only" sentinel already.

This also introduces the ability to set the Clock in the
TransactionManagerFactory so that we can test this functionality.

* Changes per review

* Fix issues affecting tests

- Restore clobbered async phase in testNoInMigrationState_doesNothing
- Restore system clock to TransactionManagerFactory to avoid affecting other
  tests.
2022-04-06 13:06:08 -04:00
..
gradle/dependency-locks Bump flogger and beam dependency versions (#1562) 2022-03-22 16:08:32 -04:00
src Ignore read-only when saving commit logs (#1584) 2022-04-06 13:06:08 -04:00
build.gradle Add a tools command to launch SQL validation job (#1526) 2022-02-28 13:14:57 -05:00
Dockerfile Build docker image of nomulus tool (#142) 2019-07-16 20:18:44 -04:00