On Fri, May 25, 2012 at 10:31:00AM +0800, levin li wrote: > From: levin li <xingke.lwp at taobao.com> > > We should not make gateway retry in check_request when the > requested object is in recovery, we should make it retry in > io_op_done(), gateway request does not access local objects, > so we should not make it retry when the local objects are in > recovery. This patch seems to break the following simple test case that reads from a newly started sheep because it can't find the object yet: sheep -p 7000 /tmp/sheep/0 collie cluster format --copies=1 collie vdi create test-vdi 300M dd if=/dev/zero count=100M | collie vdi write tet-vdi sheep -p 7001 /tmp/sheep/1 collie vdi read -p 7001 |