Skip to content

Add mcrouter support #178

@AlekseyRostov

Description

@AlekseyRostov

Hi,
I am using mcrouter (v41) as a scalable memcache solution, however it doesn't seem to support gets command which this library uses by default even for fetching single key values.

I get this kind of error:
memcache: unexpected line in get response: "SERVER_ERROR unexpected result mc_res_unknown (0) for get\r\n"

It is necessary to update GetOperation for the text protocol, replace gets with get. this will work equally for both mcrouter and memcached

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions