projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
If a server is down, repeated stores would increment the fail count even though the...
[m6w6/libmemcached]
/
libmemcached
/
storage.c
diff --git
a/libmemcached/storage.c
b/libmemcached/storage.c
index 6225af3732b15934db4d94df5e8b02be3dd95f63..ba66cf878799c3cd5eb7136ca6dbdb87df9a54ec 100644
(file)
--- a/
libmemcached/storage.c
+++ b/
libmemcached/storage.c
@@
-189,7
+189,8
@@
static inline memcached_return_t memcached_send(memcached_st *ptr,
return rc;
error:
return rc;
error:
- memcached_io_reset(instance);
+ if (rc == MEMCACHED_WRITE_FAILURE)
+ memcached_io_reset(instance);
return rc;
}
return rc;
}