]> git.ipfire.org Git - thirdparty/krb5.git/commit
In kpropd, poll after finishing resync
authorGreg Hudson <ghudson@mit.edu>
Wed, 8 Apr 2015 21:23:25 +0000 (17:23 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 13 Apr 2015 21:48:03 +0000 (17:48 -0400)
commitc19fee0a748dd26ba6ac62118cf4b9ebec36ba2f
tree5992fadff4cf827057289df84bb81ed6d2d6604d
parent2098124705cdc7abd5321e1dee32dc843547eab3
In kpropd, poll after finishing resync

When kpropd operates in iprop mode, full resyncs are handled by a
child process.  After a full resync, we want to poll for incremental
updates, as the dump we received may have come from a pre-existing
dump file which was not current.  To make this polling happen
promptly, signal the parent process from the child process after a
dump is received.

With this change, t_iprop.py no longer has to prod kpropd after a full
resync occurs, so remove that logic.

ticket: 8161
src/slave/kpropd.c
src/tests/t_iprop.py