-
Notifications
You must be signed in to change notification settings - Fork 536
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
FailoverRoute issue #9
Comments
SET:
Java app stop, all 1000 requests a set, no errors GET:
|
Hi, |
Hello, |
Hi Maxim, |
@0xd3adsh3ll and if you don't find an answer on the wiki, please open an issue here and we'll improve our docs. |
Hello, |
@0xd3adsh3ll your config file can't opened anywhere , i have some problem as you writed,now my config is not run the AllAsyncRoute ,please help me for you config, thanks!. addtion:there is my issue, |
@liyufu |
@0xd3adsh3ll if memcached1 is downed?the mcrouter can get data from memcached2? after memcached1 is resolved and started, how to solve the memcached2 is empty problem? thanks |
Hello @liyufu, I'm don't use FailoverRoute because: "If the first server was available and didn't return an error reply, FailoverRoute will not send the request to second server." |
Thanks. |
Hello again.
Currently I have config like this http://pastebin.com/Wfn08B5F
I have 1 server with mcrouter and 2 servers with memcached
For 'delete' - type AllAsyncRoute
For 'get' - type FailoverRoute
For 'set' - type AllAsyncRoute
From docs I read this:
"FailoverRoute
Sends the request to the first child in the list and waits for the reply. If the reply is a non-error, returns it immediately. Otherwise, sends the request to the second child, and so on. If all children respond with errors, returns the last error reply."
When I'm start my java app and run 1000 request on !set! to mcrouter server and test "AllAsyncRoute" (disconnect memcached1 or memcached2 via iptables rule) - it's OK, i can set all 1000 requests to both memcached servers, but when I start java app and run 1000 request on !get! from mcrouter then I get only keys from 1 of 2 servers and nothing all keys. I don't see failover mode.
Sorry for my stupid question, can you help me please?
Thanks.
The text was updated successfully, but these errors were encountered: