[Sheepdog] [PATCH 4/4] collie: retry forwarding requests when network errors have occurred

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Thu Feb 11 18:17:10 CET 2010


Write requests must be forwarded to all target nodes, so we cannot skip here.

Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
 collie/store.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/collie/store.c b/collie/store.c
index f37ce8a..e6e1771 100644
--- a/collie/store.c
+++ b/collie/store.c
@@ -246,7 +246,7 @@ again:
 
 		fd = get_collie_fd(e, n, cluster->epoch);
 		if (fd < 0)
-			continue;
+			goto again;
 
 		memcpy(&hdr2, hdr, sizeof(hdr2));
 
-- 
1.5.6.5




More information about the sheepdog mailing list