We can not always rely on the recovery daemon pinging us in a timely manner
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 13 Jan 2011 22:46:04 +0000 (09:46 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 13 Jan 2011 22:46:04 +0000 (09:46 +1100)
commit5427b642f3f5da05c14db63c355544b794e80483
tree776bbc6d2c82fd6fa36da2a6e3cfaa3b5b4efb90
parent775bd75d4cbc5ee3bf6007ea71aa70af9581ee07
We can not always rely on the recovery daemon pinging us in a timely manner
so we need a "ticker" in the main ctdbd daemon too to ensure we get at least one event to process every second.

This will improve the accuracy of "Time jumped" messages and remove false positives when the recovery daemon is "slow".
server/ctdb_daemon.c