Skip to content

Cluster Mode: Transactions (multi) #1224

@nicdal

Description

@nicdal

Hi 👋 ,

After 5.0.0 it's not possible to use the multi call due to the error message:
Redis::Cluster::AmbiguousNodeError: Cluster client doesn't know which node the multi command should be sent to.

What is the recommended solution for transactions in cluster mode?

One example of how we use transactions.

MULTI
DEL key
PFADD key 1
EXPIRE key 60
EXEC

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