You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both eval() and evalSha() methods in JedisScriptingCommands throw UnsupportedOperationException when called from inside a transaction or pipeline. However, LUA script execution works fine inside transactions when using native Jedis API (I stumbled across this restriction while migrating working code from native Jedis with evalSha inside transactions to RedisTemplate). Is this some historical restriction?
mp911de
changed the title
Jedis driver does not allow LUA script execution inside transaction or pipeline [DATAREDIS-882]
Enable Jedis Lua usage in transaction and pipeline
Sep 11, 2024
To add a bit of detail: Jedis didn't support SCRIPT … commands for quite a while. Only starting with Jedis 4, SCRIPT … commands have been added to the pipelining/transaction API.
Mikael Carlstedt opened DATAREDIS-882 and commented
Both eval() and evalSha() methods in JedisScriptingCommands throw UnsupportedOperationException when called from inside a transaction or pipeline. However, LUA script execution works fine inside transactions when using native Jedis API (I stumbled across this restriction while migrating working code from native Jedis with evalSha inside transactions to RedisTemplate). Is this some historical restriction?
No further details from DATAREDIS-882
The text was updated successfully, but these errors were encountered: