google-nomulus/java/google/registry/model/domain
mcilwain ded40851d3 Use locking on async mapreduces
This ensures that only one will run at a time, which should help fix the
clogged up mapreduces we've seen on sandbox.

In order to do this, the UnlockerOutput is introduced. This unlocks the
given Lock after all reducer shards have finished.

Also increases the lease duration of the DNS refresh action from 20 to
240 minutes. 20 minutes isn't long enough; when there's a lot of domains
and decent system load the mapreduce could take longer than that in the
ordinary case.

TESTED=Deployed to alpha and verified that more than one copy of the
mapreduce wouldn't run simultaneously, and also that the lock is
released when the mapreduce is finished.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=205887554
2018-08-10 13:44:25 -04:00
..
allocate Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
fee Make EAP fee description check more flexible 2018-05-05 23:26:33 -04:00
fee06 Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
fee11 Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
fee12 Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
launch Allow the same LaunchPhase to be used for both start-date and end-date sunrise 2018-03-06 19:12:56 -05:00
metadata Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
rgp Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
secdns Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
superuser Add support for a domain delete superuser EPP extension 2017-09-12 15:51:50 -04:00
token Move the AllocationToken entity to the token subpackage 2018-07-14 01:37:03 -04:00
DesignatedContact.java Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
DomainApplication.java Remove temporary @OnLoad used for setting period in DomainApplication 2017-06-21 09:51:28 -04:00
DomainAuthInfo.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainBase.java Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
DomainCommand.java Improve the error when trying to delete the registrant contact 2018-05-17 21:52:35 -04:00
DomainInfoData.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainObjectSpec.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainRenewData.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
DomainResource.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
ForeignKeyedDesignatedContact.java Fix stale documentation on {ForeignKeyed,}DesignatedContact 2017-03-21 15:28:58 -04:00
GracePeriod.java Add relevant exception message for checkArgumentNotNull usage 2018-06-06 15:13:10 -04:00
LrpTokenEntity.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Period.java Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00