]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2420] added note about current limitation of adding rrset and sig separately.
authorJINMEI Tatuya <jinmei@isc.org>
Wed, 28 Nov 2012 22:06:36 +0000 (14:06 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Wed, 28 Nov 2012 22:06:36 +0000 (14:06 -0800)
src/lib/datasrc/memory/zone_data_updater.h

index 43fb1e3d2308154a67c19fed3b525a60f67fd247..32320ef0810f11f88b79c369f19fee1c2d532938 100644 (file)
@@ -119,7 +119,8 @@ public:
     /// the zone; it's unusual that \c rrset is NULL, but is still possible
     /// if these RRsets are given separately to the loader, or if even the
     /// zone is half broken and really contains an RRSIG that doesn't have
-    /// any covered RRset.  This implementation supports these cases.
+    /// any covered RRset.  This implementation supports these cases (but
+    /// see the note below).
     ///
     /// There is one tricky case: Due to a limitation of the current
     /// implementation, it cannot accept an RRSIG for NSEC3 without the covered
@@ -128,6 +129,12 @@ public:
     /// should be very rare in practice, and hopefully wouldn't be a real
     /// issue.
     ///
+    /// \note Due to limitations of the current implementation, if a
+    /// (non RRSIG) RRset and its RRSIG are added separately in different
+    /// calls to this method, the second attempt will be rejected due to
+    /// an \c AddError exception.  This will be loosened in Trac
+    /// ticket #2441.
+    ///
     /// \throw NullRRset Both \c rrset and sig_rrset is NULL
     /// \throw AddError any of a variety of validation checks fail for the
     /// \c rrset and its associated \c sig_rrset.