Skip to content

Failover not working #30

@JRaspass

Description

@JRaspass

Migrated from rt.cpan.org #128575 (status was 'new')

Requestors:

Attachments:

From koceasy@cpan.org on 2019-02-21 13:54:25
:

Hi,
I have installation of 2 memcached servers in version 1.5.3 and for client I use latest Cache-Memcached-Fast package in version 0.25.
Problem is when one of this server fail so Cache-Memcached-Fast method add() fail too.
I test option 'max_failures' and 'failure_timeout' and still it fail.
In test file exists 2 memcached servers on other ports. When I start only one memcached server like 'memcached -d -P memcached.pid -l 127.0.0.1 -m 8' and other memcached server on port 11212 isn't started, about 50% of methods fail.
When I try to discover where is problem, so bad server with port 11212 in method src/client.c:client_mark_failed() is properly mark as fail. But in method src/client.c:client_execute() still use bad server from array and fail on is_active(state) method.

Regards Igor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions