Skip to content

Redis Cluster Mode? #229

Open
Open
@dncrews

Description

@dncrews

Do y'all have any plans to support Redis in cluster mode?

The fact that it does or doesn't support it doesn't appear to be documented anywhere, and the Redis configuration documentation uses the word cluster, so the assumption was made...

Symptom:

  1. Everything comes back as "control"
  2. Digging further: if we were to add a log here we would see that every single request comes back as MOVED, meaning the root node is trying to do load balancing
    • Side note: it sure would be great if there were a log or something there. It sure is frustrating having to debug this thing in tsc-generated code, and figuring out what's wrong took over a dozen hours of deconstructing this thing. ioredis uses debug. It might be nice if you used the same, but no pressure :)

Root Cause:

Apparently the RedisAdapater always extends ioredis and doesn't have any support for ioredis.Cluster, which is what is required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions