[Heimdal-source-changes] [heimdal/heimdal] ffd0dd: Fix iprop against legacy master with full log
GitHub
noreply at github.com
Tors Juni 9 07:06:41 CEST 2016
Branch: refs/heads/master
Home: https://github.com/heimdal/heimdal
Commit: ffd0dda237fd3dea8e609070e23b37a6ff761090
https://github.com/heimdal/heimdal/commit/ffd0dda237fd3dea8e609070e23b37a6ff761090
Author: Viktor Dukhovni <viktor at twosigma.com>
Date: 2016-06-09 (Thu, 09 Jun 2016)
Changed paths:
M kadmin/init.c
M kadmin/load.c
M lib/kadm5/iprop-log.c
M lib/kadm5/ipropd_slave.c
M lib/kadm5/log.c
Log Message:
-----------
Fix iprop against legacy master with full log
When the master's log has all entries from version 1 to now, and no
uber entry (legacy master), then new slaves will not pull version 1,
because their uber record has version 1.
The fix is to force the uber version to 0 always, and avoid adding a
truncate nop when doing a full prop. The uber record now records the
database version even in the absence of any other log entries so that
we know what to pull going forward.
More information about the Heimdal-source-changes
mailing list