-
Notifications
You must be signed in to change notification settings - Fork 997
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
UnsupportedOperationException from ListSubscriber during mget #711
Comments
Thanks a lot. Without a possibility to reproduce the issue its impossible to figure out that we're fixing a bug here. Depending on the load it would make sense to record some debug logs showing the payload, or even collect the response at
|
I understand your point. You can close the issue and MR. When I'll find the way to reproduce the issue, I'll reopen it. Thank you for your help. |
Let's keep that one open for a couple of days as there is somewhere an issue, we just need to find it. |
One thing came to my mind, that maybe reconnect could be involved. Could you check whether there was a reconnect right before the exception? |
I don't see any log entry which could confirm that, but I had logging on INFO level. Couple of additional hints:
|
Closing this one as it seems we cannot do anything further here. Feel free to reopen the ticket once there is something we can do. |
I can reproduce this with the following sample code on version 6.3.2: String key = "myKey";
If you change the last argument the hrandfieldWithvalues to 2, it works. I believe the bug is here in the multi method:
https://github.com/redis/lettuce/blob/main/src/main/java/io/lettuce/core/output/KeyValueListOutput.java#L77 |
Hi,
I've got this exception:
My environment:
Lettuce 5.0.1 (the same result with 5.0.2)
Redis 4.0.1
Sample code causing situation:
Unfortunately I can't reproduce this bug. It happens only on production environment. One idea that I have is that it can be connected with thing that I'm using the same connection for
async.set()
and there can be concurrent flushes of this commands. I've tried to prepare test which submit these commands concurrently but with no effect. Any other idea?I've found out that there were similar issues in
NestedMultiOutput
(#589) so I've submitted MR with similar solution: #710The text was updated successfully, but these errors were encountered: