Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

redis cluster transactions #22

Open
quinndiggity opened this issue Mar 23, 2018 · 2 comments
Open

redis cluster transactions #22

quinndiggity opened this issue Mar 23, 2018 · 2 comments

Comments

@quinndiggity
Copy link

This project seems to be abandoned, so this will likely just be a warning to potential users.

When running transactions (multi/exec), this client accepts 'MOVED' as an error the first time it tries to perform an operation on a key that is located on a different node (even when using hash tags), which will cause the entire transaction to be discarded.

Subsequent attempts against the key are successful (the client likely caches the location of the hash slot in question), but without fail the first transaction will always fail.

Not great when using redis as a state machine with dynamic keys for every transaction.

@quinndiggity
Copy link
Author

ioredis (https://github.com/luin/ioredis) does not have this issue.

@zensh
Copy link
Member

zensh commented Mar 25, 2018

Can you commit the code, please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants