google-nomulus/javatests/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
..
billing Delete remnants of registrar-level credits 2018-06-27 15:28:52 -04:00
common Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
contact Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
domain Move the AllocationToken entity to the token subpackage 2018-07-14 01:37:03 -04:00
eppinput Add more absent clTrid unit tests 2018-06-27 15:28:52 -04:00
eppoutput Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
host Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
index Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
mark Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ofy Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
poll Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
rde Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
registrar Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
registry Migrate away from VoidWorks 2018-06-27 15:28:52 -04:00
reporting Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
server Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
smd Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
testdata Move the AllocationToken entity to the token subpackage 2018-07-14 01:37:03 -04:00
tmch Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
transfer Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
translators Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
BUILD Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
CreateAutoTimestampTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
EntityClassesTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
EntityTestCase.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
EppResourceTest.java Cache domains, contacts, and hosts in WHOIS queries 2018-04-10 16:24:03 -04:00
EppResourceUtilsTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ImmutableObjectTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
ModelUtilsTest.java Remove unnecessary type specifications 2017-12-27 11:23:03 -05:00
ResourceCommandTestCase.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SchemaVersionTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00
UpdateAutoTimestampTest.java Remove unnecessary "throws" declarations 2018-06-18 18:17:56 -04:00