[Swift-devel] Re: swift-falkon problem
Ben Clifford
benc at hawaga.org.uk
Sun Mar 23 19:12:05 CDT 2008
On Fri, 21 Mar 2008, Mihael Hategan wrote:
> On Fri, 2008-03-21 at 07:12 -0500, Michael Wilde wrote:
> > My latest test on runs of 25, 100, and 1000 jobs seem to indicate that
> > with a sync command at the end of the application script, all job status
> > and data is returned ok every time.
>
> Why not put it in the wrapper script at the end?
Mike, the attached patch will do that, and will also add logging
information so that we can see how long syncs are taking compared to other
stages in worker node execution.
cd cog/modules/vdsk
patch -p1 < sync-in-wrapper
--
-------------- next part --------------
Index: swift/libexec/wrapper.sh
===================================================================
--- swift.orig/libexec/wrapper.sh 2008-03-24 08:49:43.000000000 +0900
+++ swift/libexec/wrapper.sh 2008-03-24 08:49:45.000000000 +0900
@@ -240,5 +240,9 @@
logstate "TOUCH_SUCCESS"
touch status/${JOBDIR}/${ID}-success
+
+logstate SYNC
+sync
+
logstate "END"
More information about the Swift-devel
mailing list