mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
It's bad practice in terms of data model consistency to use DateTime.now(UTC) for cloneProjectedAtTime() within a transactional context - instead, we should always use ofy().getTransactionTime() when it's available. The ofy transaction time is frozen at the start of the transaction attempt, whereas DateTime.now(UTC) will continue marching ahead. So using it for a cloneProjectedAtTime() could mean materializing the outcome of logical-time-dependent events (like autorenews, or transfers, or grace period expirations) at a logical time (i.e. commit log time) prior to when they should actually have occurred. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=170501277 |
||
---|---|---|
.. | ||
BatchComponent.java | ||
BatchModule.java | ||
BUILD | ||
DeleteContactsAndHostsAction.java | ||
DeleteProberDataAction.java | ||
EntityIntegrityAlertsSchema.java | ||
ExpandRecurringBillingEventsAction.java | ||
MapreduceEntityCleanupAction.java | ||
MapreduceEntityCleanupUtil.java | ||
RefreshDnsOnHostRenameAction.java | ||
ResaveAllEppResourcesAction.java | ||
VerifyEntityIntegrityAction.java | ||
VerifyEntityIntegrityStreamer.java |