Open abdullahskartal opened 8 months ago
The seconds error seems to be the same issue reported to rueidis https://github.com/redis/rueidis/issues/438
I tried ZRange to read all data from a zset with more than 1,000,000 members on an AWS MemoryDB Redis cluster 7.0 continuously and concurrently for hours, but I still couldn't reproduce the issue. I wonder if this issue could be a Redis bug that only happened on your specific data.
Hey @rueian,
Thats interesting. The data is just a MongoDB ids. You can take a look here. https://fakerjs.dev/api/database.html#mongodbobjectid
I have nearly 2-3 million MongoDB IDs into the sorted set and getting error ZRange. There is no special thing into the data and I didn't even use concurrency for the ZRange.
Not sure but maybe related: I'm running concurrency with ZRem after getting data with ZRange.
I'm getting error while using ZRange
There are two errors coming separately at different times but the redis operation is same.
1) redis: can't parse array/set/push reply: "$24" 2) redis: invalid reply: "\r\n"
Expected Behavior
Get all sorted set items without exception or get valid error message
Current Behavior
Getting error which I don't fully understand.
Steps to Reproduce
Context (Environment)
The number of elements in the sorted set is 21028 for the first error, and 475490 for the second error.
I'm using AWS MemoryDB Redis cluster.
Number of nodes: 9
Number of shards: 3
Redis version: 7.0
Golang version: 1.21.1
go-redis version: v9.3.0