summaryrefslogtreecommitdiffstats
path: root/gf-error-codes.h.template
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2014-03-19 12:00:44 +0530
committerVijay Bellur <vbellur@redhat.com>2014-03-20 23:25:43 -0700
commit3aeb95cfd072e06ed9dfbbb9249837da58c2e56a (patch)
treeabd3fb7e993b64ae86e4325308cac9a89b6acf86 /gf-error-codes.h.template
parentd4343f0d192862cb378eac13365bcfde31fa1d37 (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. Change-Id: I14df26c0cc3097af29293c81536c13b86075e28f BUG: 1078068 Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/7294 Reviewed-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'gf-error-codes.h.template')
0 files changed, 0 insertions, 0 deletions