summaryrefslogtreecommitdiffstats
path: root/xlators/features/glupy/src/glupy.py
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2014-03-19 12:00:44 +0530
committerVijay Bellur <vbellur@redhat.com>2014-03-24 10:30:32 -0700
commit853a90f9d7399e4afdb685946a809e9dd30a1b98 (patch)
tree63eb62d606b49c4e7d408d41d1c29b163811372a /xlators/features/glupy/src/glupy.py
parent29cbd30acd5d7a66451df09c7b94ff4bbe8b0e18 (diff)
geo-rep: Fix ValueError - signal only works in main thread
When a worker process not confirmed within 60 seconds of start then monitor thread was terminated instead of stopping and restarting the worker thread. Before terminate monitor thread tries to add a signal handler for SIGTERM to cleanup the stuff before terminate. Signal handling will not work inside thread, so ValueError was raised. This patch will not terminate monitor thread, instead only kills and restarts the worker. BUG: 1078068 Change-Id: Icf0df7ef492da636d0d20e42750747e404d897df Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/7294 Reviewed-on: http://review.gluster.org/7313 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/features/glupy/src/glupy.py')
0 files changed, 0 insertions, 0 deletions