BIND 10 trac1456, updated. 1171a27ad52ba03161e66465e4cf5f5ae93a6628 [1456] bit more explanation about single_update_mode
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri May 25 12:18:56 UTC 2012
The branch, trac1456 has been updated
via 1171a27ad52ba03161e66465e4cf5f5ae93a6628 (commit)
from f47d81ec579d815ecddf8043fa6ada63df1cae16 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 1171a27ad52ba03161e66465e4cf5f5ae93a6628
Author: Jelte Jansen <jelte at isc.org>
Date: Fri May 25 14:18:22 2012 +0200
[1456] bit more explanation about single_update_mode
-----------------------------------------------------------------------
Summary of changes:
src/lib/python/isc/xfrin/diff.py | 10 ++++++++++
1 file changed, 10 insertions(+)
-----------------------------------------------------------------------
diff --git a/src/lib/python/isc/xfrin/diff.py b/src/lib/python/isc/xfrin/diff.py
index b8d580b..a3cffbb 100644
--- a/src/lib/python/isc/xfrin/diff.py
+++ b/src/lib/python/isc/xfrin/diff.py
@@ -87,6 +87,16 @@ class Diff:
respectively. Once apply() or commit() has been called, this
requirement is renewed (since the diff object is essentialy reset).
+ In this single_update_mode, upon commit, the deletions are performed
+ first, and then the additions. With the previously mentioned
+ restrictions, this means that the actual update looks like a single
+ IXFR changeset (which can then be journaled). Apart from those
+ restrictions, this class does not do any checking of data; it is
+ the caller's responsibility to keep the data 'sane', and this class
+ does not presume to have any knowledge of DNS zone content sanity.
+ For instance, while it enforces the SOA to be deleted first, and added
+ first, it does no checks on the SERIAL value.
+
You can also expect isc.datasrc.Error or isc.datasrc.NotImplemented
exceptions.
"""
More information about the bind10-changes
mailing list