1. We use lettuce redis library version 5.1.3 and redis server 5.0.3. Redis cluster (2 shrds, 6 nodes) - 2 masters with 2 slaves each. Instance type: cache.r4.xlarge
2. We observed RedisCommandTimeoutException (60s) exception recently by hitting redis server with multiple HGET and HSET in parallel.
3. On reading about this exception, we understand that this occurs due to connection issue (channel getting disconnected) and the commands getting buffered and not getting out to the wire (ie., eventloop getting stuck-up).
4. We are unable to conclude the cause of this issue.
5. When does channel get disconnected or get stuck-up without sending out the command to network layer ? Do we have any design architecture to understand the command flow for lettuce architecture?
6. We observed HSET along with HSCAN in our flow and we are trying to reduce HSCAN which is time-consuming task.
7. We are also trying with lettuce core version 5.1.8
https://github.com/lettuce-io/lettuce-core/issues/10868. Please help us by sharing some connection design and possible cause of this exception
Thanks,
Vennila