google-nomulus/javatests/google/registry
guyben 8e33bc898f Requeue domains on wrong DnsWriter.
Currently, if for some reason publishDnsUpdates gets a request to publish
domains to a DnsWriter that doesn't belong to said domain - it logs a warning
but published anyway.

This can happen when Writers are changed (swapped for a different writer)
leaving update commands "stuck" with the wrong writer.

Normally you'd expect these update commands to just publish their data and be
on their way. However, if the update fails for some reason (likely - if the
Writer change happened BECAUSE the updates are failing) then the same
publishDnsUpdate command will continue to run forever.

This CL changes the behavior for "publish to wrong DnsWriter" to instead
requeue the batched domains / hosts back to the Dns-pull queue, allowing them
to be re-batched (and hence published) with the correct DnsWriter(s). This
re-batching will take place in ReadDnsQueueAction.java

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177863076
2017-12-13 12:43:45 -05:00
..
backup Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
batch Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
bigquery Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
billing Add MOE equivalency for 2017-12-01 sync 2017-12-13 12:43:45 -05:00
builddefs Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
config Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
cron Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
dns Requeue domains on wrong DnsWriter. 2017-12-13 12:43:45 -05:00
export Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
flows Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
groups Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
keyring Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
mapreduce/inputs Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
model Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
module Add apache beam to registry and open source 2017-11-07 17:36:07 -05:00
monitoring Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
pricing Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
proxy Open source GCP proxy 2017-11-21 19:19:03 -05:00
rdap Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
rde Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
reporting Rename all testdata loading files to conform to a single naming scheme 2017-12-01 22:14:06 -05:00
request Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
security Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
server Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
storage/drive Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
testing Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
tldconfig/idn Remove more unused Truth8.assertThat() static imports in tests 2017-11-07 17:22:56 -05:00
tmch Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
tools Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
ui Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
util Clean up some code quality issues 2017-12-01 22:14:06 -05:00
whois Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
xjc Move backported JUnit file to third_party (part 2) 2017-12-02 11:37:46 -05:00
xml Clean up test "load resources" methods and classes 2017-12-01 22:14:05 -05:00