-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Allow executing scripts inside queueing mode #1989
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
Comments
Thanks for bringing up the issue. For quite a while, Jedis' |
Hey @mp911de , thanks for the quick answer! As far I understood, the idea is to just remove |
And btw, |
We need to apply two changes:
Likely, a few tests rely on when they run in pipelining/transaction mode an exception is thrown. |
Closing as duplicate of #1455 |
Hey guys!
Right now it's not allowed to execute Lua scripts from
MULTI
block, due to check in the JedisScriptingCommands.As far as I know, this behavior is allowed by Redis
and
WATCH
is also working correctly in such circumstancesTo give you some context we have a use case when we have a
The
user_data
that needs to be checked inside app logic (cannot move it to lua :( ), modified and committed together with the counter updateWe want to process this in the following manner (pseudo code here):
WATCH
user_dataGET
user_dataMULTI
EXEC
Unfortunately, this is failing right now with
Is this intended behavior or this check can be removed?
The text was updated successfully, but these errors were encountered: