Replies: 2 comments 1 reply
-
When using transactions, then you must use a dedicated connection, see https://lettuce.io/core/release/reference/#_transactionsmulti. |
Beta Was this translation helpful? Give feedback.
-
If using synchronisation on the connection when it is being used in transactions, would this kind of error still be expected? We are experiencing the same error using lettuce 6.2.6.RELEASE. Maybe it's just me, but this statement
from Pipelining-and-command-flushing is maybe a little ambiguous? What exactly does it mean? Thanks for any clarification. |
Beta Was this translation helpful? Give feedback.
-
Hello,
Our AWS lambda uses a single connection to connect to redis 6 with lettuce 6.1.5. It writes a set of strings in transaction.
In the meanwhile, another thread using the same connection, writes a simple string value to another key,
while load testing this code, I got quite some
java.lang.UnsupportedOperationException: io.lettuce.core.output.StatusOutput does not support set(long)
here and there. I don't have such problem when only writing set. What is the suggested usage of our use case, when we need to write a set of strings with main thread, and just simple string with another thread?
Please help. Appreciate it
Beta Was this translation helpful? Give feedback.
All reactions