On 05/20/2012 10:39 PM, MORITA Kazutaka wrote: > This fixes a bug introduced by commit 43a2f684e, and necessary to pass > the following testcase: > > #!/bin/bash > set -ex > > for i in 0 1 2; do ./sheep/sheep /store/$i -z $i -p 700$i; sleep 1; done > ./collie/collie cluster format > for i in 0 1 2; do pkill -f "sheep /store/$i"; sleep 1; done > for i in 1 0 2; do ./sheep/sheep /store/$i -z $i -p 700$i; sleep 1; done > for i in 0 1 2; do ./sheep/sheep /store/$i -z $i -p 700$i; sleep 1; done > for i in 0 1 2; do ./collie/collie cluster info -p 700$i; done Applied, thanks. Yuan |