php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63887 The Failover doesnot work
Submitted: 2013-01-02 20:23 UTC Modified: -
Votes:3
Avg. Score:3.7 ± 0.9
Reproduced:2 of 3 (66.7%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: saurabh dot tiwari22 at gmail dot com Assigned:
Status: Open Package: memcached (PECL)
PHP Version: 5.3.20 OS: Ubuntu
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
35 - 1 = ?
Subscribe to this entry?

 
 [2013-01-02 20:23 UTC] saurabh dot tiwari22 at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/memcached.constants
---
I am trying to use the auto failover for memcached and I keep getting Server is 
Marked Dead. Below are the options I am using.

         Memcached::OPT_DISTRIBUTION =>  Memcached::DISTRIBUTION_CONSISTENT,
         Memcached::OPT_LIBKETAMA_COMPATIBLE => TRUE,
         Memcached::OPT_CONNECT_TIMEOUT => 50,
         Memcached::OPT_SEND_TIMEOUT => 5000,
         Memcached::OPT_RECV_TIMEOUT => 5000,
         Memcached::OPT_POLL_TIMEOUT => 100,
         Memcached::OPT_SERVER_FAILURE_LIMIT => 10,
         Memcached::OPT_REMOVE_FAILED_SERVERS => TRUE,
         Memcached::OPT_RETRY_TIMEOUT => 10,
         Memcached::OPT_AUTO_EJECT_HOSTS => TRUE


Expected result:
----------------
Since I am using consistent hashing Memcached should start mapping keys to a 
different server.


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Oct 19 19:01:27 2019 UTC