History | View | Annotate | Download (3 kB)
Also clean up stale livelock files
Upon detection of a stale livelock, make WConfD alsotry to clean it up. We can safely ignore any failures,as the Ganeti resources are already freed, and the worstthing that can happen is an empty file left over in the...
Provide a periodic lock cleanup task
Provide a task that periodically checks for all locksowners whether they are still alive. If not, it cleansup their locks.
Signed-off-by: Klaus Aehlig <aehlig@google.com>Reviewed-by: Petr Pudlak <pudlak@google.com>
Add a function to detect death of a job
With jobs running in processes different from the lock management soon,we need to detect if a job holding locks dies, in order to release theresources.