mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02:00
Reduce logging level to warning for missing DAIs
This is expected as part of the normal way that this mapreduce runs, so it's not worth outputting an error. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=228553579
This commit is contained in:
parent
02174a2cff
commit
d0c73efac0
1 changed files with 6 additions and 1 deletions
|
@ -82,8 +82,13 @@ public class KillAllDomainApplicationsAction implements Runnable {
|
|||
EppResourceIndex eri =
|
||||
ofy().load().entity(EppResourceIndex.create(applicationKey)).now();
|
||||
|
||||
// This case is common and happens when the same domain name was applied for
|
||||
// multiple times (i.e. there are multiple domain applications sharing a name). The
|
||||
// first one that the mapreduce happens to process will delete the DAI and then
|
||||
// subsequent ones will see the entity as already deleted, which is safe and
|
||||
// expected.
|
||||
if (dai == null) {
|
||||
logger.atSevere().log(
|
||||
logger.atWarning().log(
|
||||
"Missing domain application index for application %s.", applicationKey);
|
||||
getContext().incrementCounter("missing domain application indexes");
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue