Skip to content
Snippets Groups Projects
Commit 9ab98f5c authored by Libor Peltan's avatar Libor Peltan
Browse files

bugfix: don't throw error if zone change during IXFR answer init

parent c7573caa
No related branches found
No related tags found
No related merge requests found
......@@ -103,10 +103,10 @@ static int ixfr_load_chsets(journal_read_t **journal_read, zone_t *zone,
return ret;
} else if (!j_exists) {
return KNOT_ENOENT;
} else if (j_serial_to != serial_to) {
return KNOT_ERROR;
}
// please note that the journal serial_to might differ from zone SOA serial
// it is beacuse RCU lock is made at different moment than LMDB txn begin
return journal_read_begin(zone_journal(zone), false, serial_from, journal_read);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment