getHostSticky returns host based on stickiness from cluster. Always returns non-nil.
(sessionId string)
| 987 | // |
| 988 | // Always returns non-nil. |
| 989 | func (c *cluster) getHostSticky(sessionId string) *topology.Node { |
| 990 | r := c.getReplicaSticky(sessionId) |
| 991 | return r.getHostSticky(sessionId) |
| 992 | } |
| 993 | |
| 994 | // getHost returns least loaded + round-robin host from cluster. |
| 995 | // |
nothing calls this directly
no test coverage detected