arjunmehta / node-georedis

Super fast geo queries.
MIT License
192 stars 33 forks source link

Getting error while adding and removing data in cluster #34

Open pravindot17 opened 4 years ago

pravindot17 commented 4 years ago

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}}

arjunmehta commented 4 years ago

@pravindot17 Sorry for not seeing this until now.

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

pravindot17 commented 4 years ago

@arjunmehta Yes, I am using ioredis.