Is generation in clusterNodes.GC()
too old?
#3283
Closed
DingYuan0118
started this conversation in
General
Replies: 1 comment
-
Responded in the issue. We should figure out if we would like to use Discussions or Issues for such topics. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since redis cluster client start to reload state every 10 seconds (Assume traffic always exists) likes below
and do
GC
one minute after theReload()
like:When it starts to do the GC, the generation it uses is from 1 minute ago. This will result in a gap between
clusterNode.generation
andGC generation
and causesactiveAddrs
are not updated in time. I add some support log to verify this:output like
I wanna check is it an expected action or to prevent some problems?
Beta Was this translation helpful? Give feedback.
All reactions