Skip to content

Conversation

@deepdivenow
Copy link

Add feature for proxy to multiple backends.
This feature is needed so that the stolon-proxy can proxy to multiple replicas.

PS: Changes not back compatible =(

if backResult == nil {
backResult = b
connNum = atomic.LoadInt32(&b.connNum)
continue
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a biggie.

Maybe rename it as leastConnNum or something to signify that's the least connection count.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants