|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] Only retry transactions which fail from timeout.
# HG changeset patch
# User cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 54af576824313c4eff97de59691dc4f825f88fd1
# Parent 578c19d1ed494646a8b92207eb576c268312d4d0
Only retry transactions which fail from timeout.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>
diff -r 578c19d1ed49 -r 54af57682431
tools/python/xen/xend/xenstore/xstransact.py
--- a/tools/python/xen/xend/xenstore/xstransact.py Fri Sep 9 16:08:17 2005
+++ b/tools/python/xen/xend/xenstore/xstransact.py Fri Sep 9 17:03:34 2005
@@ -108,7 +108,9 @@
try:
return cls.Read(path, *args)
except RuntimeError, ex:
- pass
+ if ex.args[0] == errno.ETIMEDOUT:
+ pass
+ raise
SafeRead = classmethod(SafeRead)
@@ -118,6 +120,8 @@
cls.Write(path, *args, **opts)
return
except RuntimeError, ex:
- pass
+ if ex.args[0] == errno.ETIMEDOUT:
+ pass
+ raise
SafeWrite = classmethod(SafeWrite)
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] Only retry transactions which fail from timeout.,
Xen patchbot -unstable <=
|
|
|
|
|