node-georedis icon indicating copy to clipboard operation
node-georedis copied to clipboard

Getting error while adding and removing data in cluster

Open pravindot17 opened this issue 4 years ago • 2 comments

Hi,

It's a really interesting and great library, thanks for saving lot of our work.

I am getting below error when I run nearby in redis cluster.

{"correlationId":"89a9922e-019d-47d5-a8fd-804ae261b3b0","data":{"message":"MOVED 3400 10.20.41.108:6379","statusCode":500}}

What could be the reason, does it support cluster? I am using Amazon ElastiCache

Also while removing data using removeLocations getting below error

{"correlationId":"472b05c8-c73f-4e88-96ef-69072be8e510","data":{"message":"ERR wrong number of arguments for 'zrem' command","statusCode":500}}

pravindot17 avatar Jun 15 '20 09:06 pravindot17

@pravindot17 Sorry for not seeing this until now.

Which redis library are you using? Are you using node-redis?

arjunmehta avatar Jun 20 '20 17:06 arjunmehta

@arjunmehta Yes, I am using ioredis.

pravindot17 avatar Jun 21 '20 04:06 pravindot17