You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when finding best priority class, we get the weighted or unweighted array. If the weighted is valid, we will get a remote according to the random num and weight. If the unweighted is valid, get a remote according to the pickCount and the priority attribute isn't used. But I don't know how to use the priority to get a remote.
Putting the element whose priority is 1 at the end of the array as follows, it will fail.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
when finding best priority class, we get the
weighted
orunweighted
array. If theweighted
is valid, we will get aremote
according to the random num and weight. If theunweighted
is valid, get aremote
according to thepickCount
and thepriority
attribute isn't used. But I don't know how to use thepriority
to get aremote
.Putting the element whose
priority
is 1 at the end of the array as follows, it will fail.the
pick
function detail:etcd/server/proxy/tcpproxy/userspace.go
Lines 118 to 173 in 33ba538
Beta Was this translation helpful? Give feedback.
All reactions