~newell-jensen/maas/fix-1553841

Viewing all changes in revision 4981.

  • Committer: MAAS Lander
  • Author(s): Gavin Panella
  • Date: 2016-04-29 18:23:21 UTC
  • mfrom: (4970.3.17 dns-serials--bug-1571645)
  • Revision ID: maas_lander-20160429182321-cy8c8wr4u0m85hwa
[r=lamont,mpontillo][bug=1571645][author=allenap] Drive DNS publication from the DNSPublication model.

Previously a sequence was being used directly for the zone serial. However, sequences are explicitly not transactional: in an HA environment, a zone published on one region host would not necessarily have the same serial as the same zone published on another host. Using a regular table ensures that all region processes use the same serial.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: