-
Notifications
You must be signed in to change notification settings - Fork 978
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
Periodic cluster topology refresh blocks commands execution. #2908
Comments
Hey @ashok-shukla , what lead you to conclude that the parked thread is handling topology refresh? |
(Asynchronous topology refresh is handled in #1107) |
parked thread is not handling topology refresh. but waiting for topology refresh. io-executor-thread-9: is parked from 7/5/24, 5:49:06.734 PM to 7/5/24, 5:49:08.115 PM. I do not have a minimum reproducible example now. if possible, I will try to create one. |
reproducer:
|
Awesome! Much appreciated! |
Bug Report
Current Behavior
Periodic cluster topology refresh blocks commands execution.
From JFR,
topology refresh took 1.5 sec
Start Time Duration End Time Event Thread sources
7/5/24, 5:49:06.714 PM 1.500 s 7/5/24, 5:49:08.215 PM lettuce-nioEventLoop-5-2 xxxx,xxxx
Thread is parked to execute get command during the topology refresh period
Expected behavior/code
As for reference guide, from Lettuce 6.0, Cluster topology refresh is now non-blocking.
But from JFR, it shows as blocking.
Environment
Possible Solution
Additional context
We are executing commands using synchronous api. Our redis cluster consists of 9 nodes: 3 master and each master has 2 replicas.
The text was updated successfully, but these errors were encountered: