journal file corrupt: expected serial N, got M
On my R&D box, running latest main (9.17.2 plus patches) I'm seeing several cases of this error message, for a number of different kinds of zone:
2020-06-22.02:29:17.494 general: error: auth.mkeys.jnl: journal file corrupt: expected serial 859, got 860 2020-06-22.02:34:21.396 general: error: ../u/z/dotat.at.jnl: journal file corrupt: expected serial 26317, got 26318 2020-06-22.02:37:46.170 general: error: ../zone/__catz__auth_catz.arpa.cam.ac.uk_in-addr.arpa.cam.ac.uk.db.jnl: journal file corrupt: expected serial 1592610406, got 1592614189
i.e. for the trust anchors, for primary zones, and secondary zones (most secondaries on this box are configured with catz). Multiple primary and secondary zones are affected. This started after I (belatedly) upgraded from 9.17.0 to 9.17.2 yesterday.
The delta is 1 for all the mkeys and primary zones, usually (but not always) larger for secondary zones.
edited to add: also the primary zones have
auto-dnssec maintain but are not inline-signed.