On Fri, Feb 26, 2010 at 4:43 PM, Michael Hanselmann <[email protected]> wrote: > By opening the lock file early, other programs can lock the > state file to prevent ganeti-watcher from restarting daemons. > Using the pause feature is inherently prone to race conditions. > > Before a traceback was logged when the lock file couldn't > be acquired. Now it'll be a more friendly message.
I'm just wondering if it makes sense to have OpenStateFile be a static method of WatcherState. But LGTM either way. Guido
