-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Obtained unexpected value after "Protocol error from client ..." #974
Comments
Hey @keigokeigo, I'm seeing similar errors with either persistance or distributing reads to the slaves. |
@nicofff
Unfortunately we are still struggling with it. [1] Apache setting
I assumed some memory corruption is happening under the situation. It worked and it got even better than before. [2] Reducing access to redis.
We are running a large scale web site. We've already disabled distributing reads to the slaves.
Is it hard for you to fix the problem on your side? FYI: Our system structure
|
hi @keigokeigo. I'm not a phpredis dev, I'm just another fellow admin in distress. Out of curiosity, what PHP and phpredis versions are you using? |
Hi, @nicofff .
Sorry about that. The versions are,
Hope above information helps you. BTW, Thanks. |
I also encountered the same problem, is there a solution? |
1 similar comment
I also encountered the same problem, is there a solution? |
Hi, @ppanphper , @lokechenlin : This topic is switched to another issue, "Wrong key is read (among other errors) · Issue #1080". Only one workaround I can tell you is 2 ways as I told before. I finally gave up phpredis and replaced to predis (with hiredis). I just replaced it and it's working fine so far. |
@keigokeigo |
Hi, @ppanphper
|
Old issue without any activity for a long time. Feel free to open new issues if you have any questions about phpredis. |
Hi,
I got following error on redis server, on one of our cluster members.
I am not sure if some kind of network disconnection occurred or not. There was no evidence.
Once the server falls into such a situation, client side (=phpredis) works strangely like below.
[1] phpredis exports log lines like,
(*) Note: line 777 is the line where RedisCluster:get() is being called.
PHP Warning: RedisCluster::del(): Invalid reply type returned for DEL command in /foo/bar/redis_cluster.php on line 555
(*) Note: 777 is the line where RedisCluster:del() is being called.
[2] Obtained incorrect value.
For example,
"member_id:999" => { "name" : "Bar", "address" : "Baz" }
"member_id:999" => { "category_id" : 999, "category_name" : "Sport" }
It seems phpredis obtained a value of another key.
Only one way to resolve above problem is restarting httpd (Apache) process.
After that, phpredis works properly until next phenomenon happens.
Are there any solution for this?
The text was updated successfully, but these errors were encountered: