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
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: saurabh dot tiwari22 at gmail dot com
New email:
PHP Version: OS:

 

 [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: Wed Jul 17 13:01:25 2019 UTC