Comments (10)
Hey @zafir-zhong ,
are you sure this issue does not belong to the spring-data-redis?
From the information you've provided it is hard to understand what is going wrong.
Could you provide a minimal sample so we can investigate further?
from lettuce.
I am unable to reproduce this issue stably, but it always occurs sporadically.And, in the exception stack, only the relevant information of Lettuce can be seen.
it happen when gateway listen a message {"apps":[“D3sX4"],"status": 2}
from redis,and causing the service to be unable to read data from Redis
from lettuce.
Can you provide some suggestions on when Lettuce may throw this exception?
Now all I know is that the service malfunctioned after receiving a Redis message
from lettuce.
Can you provide some suggestions on when Lettuce may throw this exception? Now all I know is that the service malfunctioned after receiving a Redis message
This message means that the Lettuce driver is not set up to process the message that was returned. Each command has an implementation of the CommandOutput
associated to it, to help parse the response from the server. In your case this is a ValueOutput
. The ValueOutput
does not handle long
values and thus the processing fails.
Now why we are receiving the wrong value is a question I can't answer.
What type of serialization are you using for your ReactiveRedisTemplate?
Are messages of mixed type expected on this channel?
What is the purpose of this code?
from lettuce.
I am unable to reproduce this issue stably, but it always occurs sporadically.And, in the exception stack, only the relevant information of Lettuce can be seen. it happen when gateway listen a message
{"apps":[“D3sX4"],"status": 2}
from redis,and causing the service to be unable to read data from Redis
Have you asked your question in the spring-data-redis ?
from lettuce.
Can you provide some suggestions on when Lettuce may throw this exception? Now all I know is that the service malfunctioned after receiving a Redis message
This message means that the Lettuce driver is not set up to process the message that was returned. Each command has an implementation of the
CommandOutput
associated to it, to help parse the response from the server. In your case this is aValueOutput
. TheValueOutput
does not handlelong
values and thus the processing fails.Now why we are receiving the wrong value is a question I can't answer.
What type of serialization are you using for your ReactiveRedisTemplate? Are messages of mixed type expected on this channel? What is the purpose of this code?
use jason serialization
I didn't find any of my own code in the exception message, so I can't actually confirm which line of code caused it
from lettuce.
I am unable to reproduce this issue stably, but it always occurs sporadically.And, in the exception stack, only the relevant information of Lettuce can be seen. it happen when gateway listen a message
{"apps":[“D3sX4"],"status": 2}
from redis,and causing the service to be unable to read data from RedisHave you asked your question in the spring-data-redis ?
i try it now.
from lettuce.
Looks like a variant of #2175
from lettuce.
Looks like a variant of #2175
Do you think it is more likely a problem of the driver or the way spring-data-redis uses it?
I am trying to see a pattern myselft, but I see we also have instances of this issue manifested when the driver is used standalone.
from lettuce.
Impossible to say without a reproducer. The listenToChannel(…)
method effectively SUBSCRIBE
s to a channel with a PubSubOutput
. Given the exception above that mentions ValueOutput
, there's a gap that only a reproducer can describe.
from lettuce.
Related Issues (20)
- Seeing Warning Logs :: Cannot refresh Redis Cluster topology in 6.2.6.RELEASE HOT 4
- After turning on topology refresh, lettuce log is written inside rocketmq-client.log. HOT 4
- Lettuce client reconnecting frequently HOT 1
- Custom command with Lettuce occurs UnsupportedOperationException HOT 1
- Stateful redis cluster pubsub is not working HOT 4
- Why does lecttuce send lua script load command to all nodes (including replicas) in redis cluster? HOT 4
- `DefaultClientResources.dnsResolver(DnsResolver resolver)` should be marked as deprecated.
- ClusterTopologyChangedEvent Timing Issue
- Provide a convenience method to support reading of last message from stream
- Adjusting disconnectedBehavior Option to Prevent Timeout When Redis Shutdown HOT 6
- Pool exhausted, Java 21 and Virtual Threads HOT 4
- AWS RedisCache replica Failover can not be resolved HOT 1
- Release Lettuce 7.0.0.RELEASE
- Thread blocked when using one global instance of ClientResources but repeatedly opening and closing connections HOT 1
- Prepare 6.4.0 branch
- Application got io.lettuce.core.RedisCommandTimeoutException irregularly. HOT 3
- Does Lettuce use CLUSTER NODES instead of CLUSTER SLOTS to discover topology? HOT 3
- Caused by: io.lettuce.core.RedisCommandExecutionException: NOAUTH Authentication required. HOT 3
- BugReport: ClusterTopologyRefreshTask is not shutdown when RedisClusterClient is shutdown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lettuce.