google-nomulus/java/google/registry/batch
nickfelt 2702c3a7f3 Fix code to always set HistoryEntry modification time using txn time
Since HistoryEntry always represents a read-only log of mutation to a core resource, that mutation should always happen in a transaction, and the HistoryEntry should be saved in that transaction.  As such, it's always more accurate to use ofy().getTransactionTime() for the modificationTime of the HistoryEntry rather than just DateTime.now(UTC).

In addition, having these be the exact same timestamp makes it possible to align HistoryEntries with commit log manifests using modificationTime = transactionTime, which is useful for recovery and analysis purposes.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=170136957
2017-10-04 16:16:45 -04:00
..
BatchComponent.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BatchModule.java Add mapreduce cleanup action 2017-03-13 10:24:57 -04:00
BUILD Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
DeleteContactsAndHostsAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
DeleteProberDataAction.java Fix soft delete for possible double-map of domain 2017-09-12 14:57:34 -04:00
EntityIntegrityAlertsSchema.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExpandRecurringBillingEventsAction.java Fix code to always set HistoryEntry modification time using txn time 2017-10-04 16:16:45 -04:00
MapreduceEntityCleanupAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
MapreduceEntityCleanupUtil.java Add mapreduce cleanup action 2017-03-13 10:24:57 -04:00
RefreshDnsOnHostRenameAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
ResaveAllEppResourcesAction.java Move ResaveAllEppResources mapreduce from tools service to backend 2017-09-20 10:27:17 -04:00
VerifyEntityIntegrityAction.java Change @Auth to an AutoValue, and created a set of predefined Auths 2017-08-01 16:33:10 -04:00
VerifyEntityIntegrityStreamer.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00