Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
After deleting a SortedSet the behavior for ZRANGE differs from native Redis.
Reproduction Steps:
Add some data to a SortedSet:
- ZADD leaderboard 1 "one"
- ZADD leaderboard 2 "two"
Delete the SortedSet with the key "leaderboard":
- DEL leaderboard
Now perform a ZRANGE command on the deleted key
ZRANGE leaderboard 0 10
Native Redis returns "(empty array)" where as we return "
"(error) ERR The server had an internal error please try again".
The same behavior occurs even if the SortedSet never existed. For example:
ZRANGE nonexistent 0 10 will also result in
"(error) ERR The server had an internal error please try again".
Attachments
Issue Links
- is fixed by
-
GEODE-9376 Implement ZREVRANGE Command
- Closed