google-nomulus/javatests/google/registry/dns/writer/clouddns
guyben d5ac03aae4 Make DnsWriter truly atomic
Right now - if there's an error during DnsWriter.publish*, all the publish from
before that error will be committed, while all the publish after that error
will not.

More than that - in some writers partial publishes can be committed, depending
on implementation.

This defines a new contract that publish* are only committed when .commit is
called. That way any error will simply mean no publish is committed.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165708063
2017-08-29 16:40:07 -04:00
..
BUILD Roll back accidental inclusion of non-public Mockito helper methods 2017-04-26 11:19:59 -04:00
CloudDnsWriterTest.java Make DnsWriter truly atomic 2017-08-29 16:40:07 -04:00