2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

370. [bug] The error message for roll forward failures was

overly terse.
This commit is contained in:
Mark Andrews
2000-08-03 21:24:49 +00:00
parent 5080f1b235
commit 512661edd7
2 changed files with 11 additions and 3 deletions

View File

@@ -1,3 +1,6 @@
370. [bug] The error message for roll forward failures was
overly terse.
369. [func] Support new named.conf options, view and zone
statements:

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: zone.c,v 1.173 2000/08/02 22:29:13 explorer Exp $ */
/* $Id: zone.c,v 1.174 2000/08/03 21:24:49 marka Exp $ */
#include <config.h>
@@ -723,9 +723,14 @@ dns_zone_load(dns_zone_t *zone) {
result = dns_journal_rollforward(zone->mctx, db,
zone->journal);
if (result != ISC_R_SUCCESS && result != ISC_R_NOTFOUND &&
result != DNS_R_UPTODATE && result != DNS_R_NOJOURNAL)
result != DNS_R_UPTODATE && result != DNS_R_NOJOURNAL &&
result != ISC_R_RANGE) {
zone_log(zone, me, ISC_LOG_ERROR,
"dns_journal_rollforward returned: %s",
dns_result_totext(result));
goto cleanup;
if (result == ISC_R_NOTFOUND) {
}
if (result == ISC_R_NOTFOUND || result == ISC_R_RANGE) {
zone_log(zone, me, ISC_LOG_ERROR,
"journal out of sync with zone");
goto cleanup;