[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [OSSTEST PATCH 31/33] tcl-daemons: ms-ownerdaemon: Use autoreconnect



When creating a job, we ask jobdb::transaction to retry on failure.
This makes the error handling more effective.

Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
 ms-ownerdaemon | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ms-ownerdaemon b/ms-ownerdaemon
index 31e6fdd..bf0b595 100755
--- a/ms-ownerdaemon
+++ b/ms-ownerdaemon
@@ -102,7 +102,7 @@ proc cmd/create-task {chan desc} {
         "]
         if {$nrows != 1} { error "multiple $taskdesc!" }
         set task $av(taskid)
-    }
+    } 1 ;#autoreconnect
     lappend tasks $task
     puts-chan $chan "OK created-task $task ownd $taskdesc"
 }
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.