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
This issue has been raised before, but unfortunately there isn't much I can do in this case.
If you do an MGET with several keys, and some of them are serialized while some are not, phpredis won't be able to know which to deserialize and which to leave as they are. Trying to detect it would be unreliable, as you may want to store binary data that phpredis could interpret as igbinary strings.
I use Redis::OPT_SERIALIZER = Redis::SERIALIZER_IGBINARY
So when I'm saving the integer i gotta serialized it.
And In redis-cli enviroment get:
(its values: 1)
But when i do increment this one key i got not serialized data and incremented from zero (not 1, as this key contained)
So may be its bug or not but may be no need to serialize int/float etc types?
Also i cant get sort by key becauze integers are serialized and i must turn off it to take effect.
The text was updated successfully, but these errors were encountered: