This fixes the recently seen failures with split queries when:

- confd is restarted
- the master is active, and config updates are continuously executed more often
  that once per two seconds
- thus confd never gets a chance to switch to inotify mode

This patch series makes confd start directly in inotify mode (if
possible), and also makes it more aggressive w.r.t. timers for switching
between modes.

Iustin Pop (7):
  Explicitly load the config at confd startup
  Start confd in notify mode if we can
  Add a function to get the current time in microseconds
  Increase Haskell log file resolution
  First part of confd timer changes
  Change the polling thread sleep behaviour
  Renames and cleanup of variable names in confd

 lib/constants.py           |   18 ++++----
 src/Ganeti/Confd/Server.hs |  104 +++++++++++++++++++++++++-------------------
 src/Ganeti/Logging.hs      |    4 +-
 src/Ganeti/Utils.hs        |   14 +++++-
 4 files changed, 83 insertions(+), 57 deletions(-)

-- 
1.7.10.4

Reply via email to