journal file is out of date: removing journal file

Tony Finch dot at dotat.at
Wed Jul 31 10:44:20 UTC 2019


Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
>
> What does the log message "journal file is out of date: removing journal
> file" exactly mean? Is it somehow problematic?

After loading a zone, named discovers the serial number of the zone
doesn't match the serial number of the journal.

Something weird is happening, because I would expect that the zone either
had an incremental change, which goes via the journal, so the journal will
be up to date; or it's a full reload (e.g. thaw or axfr), in which case
the journal should be quietly removed in the reload process; or there is
ixfr-from-differences, in which case the journal is updated instead of
removed when a reload happens.

If I'm skim-reading the code right, the problem might be that it checks
the journal for staleness (in zone_postload) before checking that the
journal needs to be removed (in zone_replacedb which is called towards the
end of zone_postload) which is the wrong order and will cause this log
message more frequently than it should.

Tony.
-- 
f.anthony.n.finch  <dot at dotat.at>  http://dotat.at/
North Bailey: Easterly 5 to 7. Moderate or rough. Showers. Moderate or poor.


More information about the bind-users mailing list