Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DirectDruidClient openConnections may be samller than the real connctions between the servers #9364

Closed
BigRantLing opened this issue Feb 14, 2020 · 0 comments

Comments

@BigRantLing
Copy link

Hi guys,
Our Druid version is 0.9.2.
When I was going to make some changs to code of DirectDruidClient , I found some original code confuse me. The openConnections is a variable means the connctions ammount of queryable servers. And it will increase after broker requesting a server.But it only represent the connection ammount between this broker and the server requested. When we use ConnectionCountServerSelectorStrategy to decide server should be requested,the broker will choose the server which openConnections is small. But, the real active connection ammount between the sever which has been selected and all brokers may be bigger than openConnections.
Is that right?
Thanks for reply.

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

No branches or pull requests

1 participant