google-nomulus/java/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
BUILD Add MOE equivalence for sync on 2016-12-19 2017-01-09 11:59:04 -05:00
DnsWriter.java Make DnsWriter truly atomic 2017-08-29 16:40:07 -04:00
DnsWriterZone.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
VoidDnsWriter.java Make DnsWriter truly atomic 2017-08-29 16:40:07 -04:00
VoidDnsWriterModule.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00