google-nomulus/javatests/google/registry/dns/writer
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
..
clouddns Make DnsWriter truly atomic 2017-08-29 16:40:07 -04:00
dnsupdate Make DnsWriter truly atomic 2017-08-29 16:40:07 -04:00