google-nomulus/java/google/registry/model
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
..
annotations Clean up some code quality issues 2017-12-01 22:14:06 -05:00
billing Delete remnants of registrar-level credits 2018-06-27 15:28:52 -04:00
common Replace FluentIterable with streams 2017-12-27 11:40:50 -05:00
contact Migrate Guava Predicates.notNull to Objects.nonNull 2017-12-27 11:19:53 -05:00
domain Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
eppcommon Add more absent clTrid unit tests 2018-06-27 15:28:52 -04:00
eppinput Add more absent clTrid unit tests 2018-06-27 15:28:52 -04:00
eppoutput Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
host Format some imports using fix_imports.py 2017-10-24 16:53:47 -04:00
index Cache domains, contacts, and hosts in WHOIS queries 2018-04-10 16:24:03 -04:00
mark Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ofy Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
poll Remove leniency on poll message ID format without years in them 2018-02-20 15:12:43 -05:00
pricing Clean up some code quality issues 2017-12-01 22:14:06 -05:00
rde Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
registrar Delete all Braintree code 2018-07-14 01:37:03 -04:00
registry Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
reporting Fix NPE in GetHistoryEntriesCommand 2017-10-24 16:53:47 -04:00
server Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
smd Replace FluentIterable with streams 2017-12-27 11:40:50 -05:00
tmch Make return value of ClaimsListShard.getClaimKey() Optional 2018-03-06 19:15:52 -05:00
transfer Clean up some code quality issues 2017-12-01 22:14:06 -05:00
translators Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
BackupGroupRoot.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
BUILD Clean up annotation imports in BUILD files 2018-06-27 15:28:53 -04:00
Buildable.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
CacheUtils.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
CreateAutoTimestamp.java Add create timestamp as field on AllocationToken entity 2018-01-19 14:25:28 -05:00
EntityClasses.java Move the AllocationToken entity to the token subpackage 2018-07-14 01:37:03 -04:00
EppResource.java Add limit to list_domains command 2018-05-17 21:52:35 -04:00
EppResourceUtils.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
ImmutableObject.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
Jsonifiable.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
JsonMapBuilder.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
ModelUtils.java Replace FluentIterable with streams 2017-12-27 11:40:50 -05:00
package-info.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00
SchemaVersion.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00
UpdateAutoTimestamp.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00