Closed
Description
Here is how the client program use hiredis to connect redis servers:
The client program callls the redisSetTimeout and redisEnableKeepAlive to set timeout option and activate tcp keepalive.
Here is the stack where the program hang:
My redis servers run in cluster mode by using twem proxy, when this problem occurred, there is one redis server shutdown due to hardware problem, and the MGet command right just sent to this broken redis server.
Unlike the other hang problems reported, my client program has set timeout and keepalive option when connected to redis servers, and although the client program runs in multi-thread task, but would use one exclusive hiredis client context for each thread. So would that be some new problems?
Metadata
Metadata
Assignees
Labels
No labels