google-nomulus/java/google/registry/mapreduce
guyben 00f2662f33 Retry Datastore errors in CommitLogManifestReader.next()
When trying to run the MapReduce for DeleteOldCommitLogsAction, we run into a
lot of DatastoreTimeoutException during CommitLogManifestReader.next.

This causes the entire shard to fail. Since we have a lot of keys (tens of
millions), this is almost guaranteed to happen, dooming the entire MapReduce.

Here is an attempt to recover from the Timeout Exception by saving the state
before the read, then on failure restoring that state and trying again.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165172222
2017-08-29 16:06:48 -04:00
..
inputs Retry Datastore errors in CommitLogManifestReader.next() 2017-08-29 16:06:48 -04:00
BUILD Restructure Maven dependencies in build 2017-01-09 11:59:04 -05:00
MapreduceModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
MapreduceRunner.java Refer to Datastore everywhere correctly by its capitalized form 2017-02-17 12:12:12 -05:00