redis / redis/redis-om-python

Unable to use redisearch on cluster

Open
#412 5 comments 0 reactions 1 assignee View on GitHub

@dvora-h is already working on this.

Since Nov 23, 2022.

cluster
Dominant language
Python
Stars
1.3k
Forks
128
PR merge metrics
No merged PRs in 30d

Description

Hi Everyone,

I've been trying out redis-om and I like the simplicity it offers. Thank you for taking the time to write it.

I have run into an issue though. When trying to run the following line of code

Customer.find(Customer.age == 38).all()

The above line of code works fine for a single redis instance. However, in cluster mode which redisearch should be using RSCoordinator under the hood I get redis moved errors.

redis.exceptions.ResponseError: MOVED 14592 10.9.9.6:7003

I have made sure to run: Migrator.run()

And I don't see what other issue I could have run into other than RSCoordinator not responding as its supposed in the redis-om backend. I come to this conclusion since save() & get() work just fine.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.