Subject: | forget_dead_hosts |
Date: | Tue, 12 Nov 2013 15:01:35 -0800 |
To: | bug-cache-memcached-libmemcached [...] rt.cpan.org |
From: | Yitzchak Scott-Thoennes <ysth [...] shiftboard.com> |
I see adding a forget_dead_hosts is in the TODO list; it would be nice to
have this.
I don't see a good way to implement this; perhaps check
memcached_server_get_last_disconnect is true and if so, remove (how?) and
re-add all the servers?
The comment in the Memcached::libmemcached pod "Functions relating to
managing lists of servers (memcached_server_push, and
memcached_server_list) have not been implemented because they're not needed
and likely to be deprecated by libmemcached." makes me think this isn't a
workable approach.
<http://docs.libmemcached.org/memcached_servers.html#memcached_server_get_last_disconnect>