google-nomulus/java/google/registry/batch
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
..
BatchComponent.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
BatchModule.java Remove transition code for set of parameter refactoring 2018-07-14 01:37:03 -04:00
BUILD Clean up third_party imports in BUILD files 2018-07-14 01:11:51 -04:00
DeleteContactsAndHostsAction.java Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
DeleteLoadTestDataAction.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
DeleteProberDataAction.java Consolidate all Set parameter parsing 2018-06-06 15:04:02 -04:00
EntityIntegrityAlertsSchema.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ExpandRecurringBillingEventsAction.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
MapreduceEntityCleanupAction.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
MapreduceEntityCleanupUtil.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
RefreshDnsOnHostRenameAction.java Use locking on async mapreduces 2018-08-10 13:44:25 -04:00
ResaveAllEppResourcesAction.java Replace many Work and VoidWork usages with lambdas 2017-11-21 18:45:12 -05:00
ResaveEntityAction.java Enqueue async re-saves with additional future re-saves 2018-07-14 01:37:03 -04:00
VerifyEntityIntegrityAction.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
VerifyEntityIntegrityStreamer.java Run automatic Java 8 conversion over codebase 2017-10-10 12:09:41 -04:00