summaryrefslogtreecommitdiffstats
path: root/xlators/features/marker/utils/syncdaemon/syncdutils.py
diff options
context:
space:
mode:
authorCsaba Henk <csaba@redhat.com>2012-04-20 17:21:12 +0200
committerVijay Bellur <vijay@gluster.com>2012-05-19 06:11:45 -0700
commitad36d5b7349c7ff784116b12f5dada24121728df (patch)
tree7e1fe68d996ff1e3986ebaed89f20d4fafdd067c /xlators/features/marker/utils/syncdaemon/syncdutils.py
parent7e6ee8afd7b36988c0f95bc6e1ba94a39d8ca30a (diff)
geo-rep / gsyncd: fixes regarding the command invocation framework
Some of the bugs to fix were found by the following stress-test: make "glusterfs --client-pid=-1" exit immediately on slave side. Also fix eintr_wrap which should not "adopt" exceptions generated by the wrapped call, by re-raising them as GsyncdError. Change-Id: Ia0d39e0635975ebbbf98d86e1e26f3122e1ed6ff BUG: 764678 Signed-off-by: Csaba Henk <csaba@redhat.com> Reviewed-on: http://review.gluster.com/3258 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Venky Shankar <vshankar@redhat.com>
Diffstat (limited to 'xlators/features/marker/utils/syncdaemon/syncdutils.py')
-rw-r--r--xlators/features/marker/utils/syncdaemon/syncdutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/features/marker/utils/syncdaemon/syncdutils.py b/xlators/features/marker/utils/syncdaemon/syncdutils.py
index 1a7dbd4dbbe..b29936d596d 100644
--- a/xlators/features/marker/utils/syncdaemon/syncdutils.py
+++ b/xlators/features/marker/utils/syncdaemon/syncdutils.py
@@ -264,7 +264,7 @@ def eintr_wrap(func, exc, *a):
except exc:
ex = sys.exc_info()[1]
if not ex.args[0] == EINTR:
- raise GsyncdError(ex.args[1])
+ raise
def select(*a):
return eintr_wrap(oselect.select, oselect.error, *a)