1688. [bug] LDFLAGS was not supported.
+1686. [bug] Named sent a extraneous NOTIFY when it received a
+ redundant UPDATE request. [RT #11943]
+
1685. [bug] Change #1679 loop tests weren't quite right.
1684. [placeholder] rt10704
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: update.c,v 1.114 2004/06/20 23:57:13 marka Exp $ */
+/* $Id: update.c,v 1.115 2004/07/20 07:39:31 marka Exp $ */
#include <config.h>
dns_journal_destroy(&journal);
}
- }
- /*
- * XXXRTH Just a note that this committing code will have to change
- * to handle databases that need two-phase commit, but this
- * isn't a priority.
- */
- update_log(client, zone, LOGLEVEL_DEBUG,
- "committing update transaction");
- dns_db_closeversion(db, &ver, ISC_TRUE);
+ /*
+ * XXXRTH Just a note that this committing code will have
+ * to change to handle databases that need two-phase
+ * commit, but this isn't a priority.
+ */
+ update_log(client, zone, LOGLEVEL_DEBUG,
+ "committing update transaction");
+ dns_db_closeversion(db, &ver, ISC_TRUE);
- /*
- * Mark the zone as dirty so that it will be written to disk.
- */
- dns_zone_markdirty(zone);
+ /*
+ * Mark the zone as dirty so that it will be written to disk.
+ */
+ dns_zone_markdirty(zone);
- /*
- * Notify slaves of the change we just made.
- */
- dns_zone_notify(zone);
+ /*
+ * Notify slaves of the change we just made.
+ */
+ dns_zone_notify(zone);
+ } else {
+ update_log(client, zone, LOGLEVEL_DEBUG, "redundant request");
+ dns_db_closeversion(db, &ver, ISC_TRUE);
+ }
result = ISC_R_SUCCESS;
goto common;