projects
/
m6w6
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
e275a4d
)
Also keep track of last disconnected server at blacklisting time
author
Jean-Charles Redoutey
<jc@Jayce2009lnx>
Sat, 10 Oct 2009 20:25:40 +0000
(22:25 +0200)
committer
Jean-Charles Redoutey
<jc@Jayce2009lnx>
Sat, 10 Oct 2009 20:25:40 +0000
(22:25 +0200)
libmemcached/memcached_connect.c
patch
|
blob
|
history
diff --git
a/libmemcached/memcached_connect.c
b/libmemcached/memcached_connect.c
index 1c4069cfc530771d9cd9b0f131924a23a4a704f7..10df0198c15928c066330974b218664cc7ec34c0 100644
(file)
--- a/
libmemcached/memcached_connect.c
+++ b/
libmemcached/memcached_connect.c
@@
-326,6
+326,7
@@
memcached_return memcached_connect(memcached_server_st *ptr)
if (memcached_behavior_get(ptr->root, MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS))
run_distribution(ptr->root);
+ ptr->root->last_disconnected_server = ptr;
return MEMCACHED_SERVER_MARKED_DEAD;
}
}