Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rbatch excute() method miss command #5756

Open
AaronFeng2014 opened this issue Apr 8, 2024 · 2 comments
Open

Rbatch excute() method miss command #5756

AaronFeng2014 opened this issue Apr 8, 2024 · 2 comments
Labels

Comments

@AaronFeng2014
Copy link

When I use Rbatch to save some value into hash, i found that sometime the command in rbatch is not be excuted completely, and miss some command, because I query the value in immediately, but is is not the value I saved before

redis cluster,
code
image

@mrniko
Copy link
Member

mrniko commented Apr 9, 2024

Can you share the code to reproduce it?

@mrniko
Copy link
Member

mrniko commented Apr 9, 2024

I query the value in immediately, but is is not the value I saved before

That can be caused by master slave replication lag. Try to use readMode = MASTER

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants