You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using redisarray locally with 2 redis instances on 2 different ports and sometimes mGet will return false on a pair of keys even though I can retrieve them individually using get.
The redis client I am using is 2.2.4 and the redis server is 2.8.6.
Here is the pair of keys that will cause it to fail. "abc:1" and "abc:4".
To reproduce this, my redisarray is initialized to array("127.0.0.1:6379", "127.0.0.1:6380")
and I set both keys individually, and then calling mget with both keys.
The text was updated successfully, but these errors were encountered:
The MGET call in RedisArray was failing under circumstances where
none of the passed keys hashed into any given node in the ring.
What was happening is that RedisArray was passing through to the
phpredis MGET command an empty array, which was returning false.
This in turn caused RedisArray to abort the process and return
false as well.
This change updates RedisArray MGET such that if a given node
doesn't have any keys, we skip the call to it all together.
Addresses #435
Addresses #436
Hi, I am using redisarray locally with 2 redis instances on 2 different ports and sometimes mGet will return false on a pair of keys even though I can retrieve them individually using get.
The redis client I am using is 2.2.4 and the redis server is 2.8.6.
Here is the pair of keys that will cause it to fail. "abc:1" and "abc:4".
To reproduce this, my redisarray is initialized to array("127.0.0.1:6379", "127.0.0.1:6380")
and I set both keys individually, and then calling mget with both keys.
The text was updated successfully, but these errors were encountered: