Replies: 1 comment 1 reply
-
Without a reproducer it's difficult to find out what is happening here. Either the protocol is out of sync or the command doesn't match the Redis response.
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are using a custom circuit breaker mechanism over lettuce, when state is changed from CLOSED to OPEN we call this method for queue draining. The circuit breaker stays in OPEN state for 30 seconds, so new commands are not added at this time period.
The chosen reliability strategy is: Reliability.AT_LEAST_ONCE
commandHandler.getEndpoint().notifyDrainQueuedCommands(commandHandler);
CommandHandler
andDefaultEndpoints
contains in queues\stack onlyMGET
commands, such error occurs after queue draining:Lettuce version is:
6.1.2.RELEASE
My assumption is that Iterable has been cleared from heap due to queues draining, but Redis commands hadn't been cleared yet somehow.
Could you help me with this issue? Not sure that I'm draining queues correctly, maybe there is a more correct solution.
By the way it is only occurred when there is list of keys, I've tested
SETEX
command, and it is doing well.Beta Was this translation helpful? Give feedback.
All reactions