Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memcached OPT_BINARY_PROTOCOL doesnt "temporary disable" gone servers, directly marks them as dead and DEAD_TIMEOUT doesnt trigger at all #498

Open
duronrulez opened this issue Jan 6, 2022 · 0 comments

Comments

@duronrulez
Copy link

This is the config. Important lines are at the top

\Memcached::OPT_BINARY_PROTOCOL => true,
\Memcached::OPT_AUTO_EJECT_HOSTS => true,
\Memcached::OPT_DEAD_TIMEOUT => 5,
\Memcached::OPT_REMOVE_FAILED_SERVERS => true,
\Memcached::OPT_SERVER_FAILURE_LIMIT => 2,


\Memcached::OPT_LIBKETAMA_COMPATIBLE => true,
\Memcached::OPT_RETRY_TIMEOUT => 1,
\Memcached::OPT_TCP_NODELAY => true,
\Memcached::OPT_SERIALIZER => \Memcached::SERIALIZER_IGBINARY,
\Memcached::OPT_TCP_KEEPALIVE => true,
\Memcached::OPT_COMPRESSION => true,
\Memcached::OPT_NO_BLOCK => true,
\Memcached::OPT_DISTRIBUTION => \Memcached::DISTRIBUTION_CONSISTENT,

Basically im struggling to make binary protocol working with temporarily gone servers.
I dont really care for binary protocol perse, but disabling binary protocol craps out other functionality and requests start returning not stored for whatever reason ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant