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
I can't reproduce this issue on the latest redis-py client and latest redis server. I would suggest upgrading to the latest stable redis (1.2.5) and trying again.
Also, what version of the redis-py client are you using?
My bad. Without looking at the python source I swapped the score with value. I was following the command reference from redis which is "zadd key score value", while the function is zadd(key, value, score)
I see why redis needs to always put value last (they use the space character as the field delimiter) and why in python zadd puts score last (since it's an added difference)
For some reason having a value that startswith('nan') crashes my redis server (1.2.2)
I'm not sure if this is a server or client issue, but I was unable to duplicate this crash using redis-cli so I'm leaning towards client.
The text was updated successfully, but these errors were encountered: