Statistics
| Branch: | Tag: | Revision:

root / src / Ganeti / WConfd / DeathDetection.hs @ 39c1e700

History | View | Annotate | Download (3.1 kB)

# Date Author Comment
39c1e700 04/11/2014 05:02 pm Klaus Aehlig

Use a LockWaiting structure instead of a LockAllocation

In this way, we will be able to support in WConfD waiting for locks
to become available instead of having to poll for them.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

3addd59f 03/18/2014 01:52 pm Petr Pudlak

Create a separate data type for WConfd client identity

.. instead of using a pair.

Signed-off-by: Petr Pudlak <>
Reviewed-by: Helga Velroyen <>

f3010b75 03/07/2014 10:57 am Klaus Aehlig

Also clean up stale livelock files

Upon detection of a stale livelock, make WConfD also
try to clean it up. We can safely ignore any failures,
as the Ganeti resources are already freed, and the worst
thing that can happen is an empty file left over in the...

b57c50de 03/06/2014 05:35 pm Klaus Aehlig

Provide a periodic lock cleanup task

Provide a task that periodically checks for all locks
owners whether they are still alive. If not, it cleans
up their locks.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>

bacb44fe 03/06/2014 05:35 pm Klaus Aehlig

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 the
resources.

Signed-off-by: Klaus Aehlig <>
Reviewed-by: Petr Pudlak <>