Remove the ofy().load() inside of HostResource.cloneProjectedAtTime

In fact, completely eviscerate cloneProjectedAtTime (to be removed in
a followup CL) in favor of doing the projection of transfers and the
loading of values from the superordinate domain at call sites. This
is one of the issues that blocked the memcache audit work, since the
load inside of cloneProjectedAtTime could not be controlled by the
caller.

Note: fixed a minor bug where a subordinate host created after its superordinate domain was last transferred should have lastTransferTime==null but was previously reporting the domain's lastTransferTime.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=149769125
This commit is contained in:
cgoldfeder 2017-03-10 10:05:26 -08:00 committed by Ben McIlwain
parent 1f000b94e6
commit 9174855a47
67 changed files with 970 additions and 471 deletions

View file

@ -965,16 +965,18 @@ are enqueued to update DNS accordingly.
* Host rename from external to subordinate must also add an IP addresses.
* 2004
* The specified status value cannot be set by clients.
* Host names are limited to 253 characters.
* Cannot add IP addresses to an external host.
* Host rename from subordinate to external must also remove all IP
addresses.
* 2005
* Invalid host name.
* Host names must be in lower-case.
* Host names must be in normalized format.
* Host names must be puny-coded.
* Invalid host name.
* 2201
* The specified resource belongs to another client.
* Domain for host is sponsored by another registrar.
* 2302
* Host with specified name already exists.
* 2303