Skip to content

Add proxy to multi backends feature#9

Open
deepdivenow wants to merge 1 commit intosorintlab:masterfrom
deepdivenow:proxy-replicas
Open

Add proxy to multi backends feature#9
deepdivenow wants to merge 1 commit intosorintlab:masterfrom
deepdivenow:proxy-replicas

Conversation

@deepdivenow
Copy link
Copy Markdown

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 =(

Comment thread pollon.go
if backResult == nil {
backResult = b
connNum = atomic.LoadInt32(&b.connNum)
continue
Copy link
Copy Markdown

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