diff options
author | Csaba Henk <csaba@gluster.com> | 2011-02-15 10:52:32 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-15 21:44:43 -0800 |
commit | 1569424d1425a2f81c428d3968cd103ab2cad49e (patch) | |
tree | 51f2233a8434eaae6068ea93d2be4b5b5497af03 /cli | |
parent | a68b4ad416970ec0ca710f650f54b87c3b92428e (diff) |
syncdaemon: change pidfile handling approach
Signal handling of the python interpreter is a bit messy, so we cannot
rely on executing a final clause upon termination. Switch over fcntl
lock based pidfile handling which can provide reliable info about status
of the process. (Due to aforementioned reason, pidfile as such is not
guaranteed to be cleaned up, but lock acquisition is a reliable measure.)
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1570 (geosync related changes)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1570
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions