You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2020/08/14 07:06:55 UTC

[GitHub] [incubator-doris] caoyang10 opened a new issue #4351: [Bug] ES queries always route at same 3 BE nodes

caoyang10 opened a new issue #4351:
URL: https://github.com/apache/incubator-doris/issues/4351


   I create a external ES table and test some queries on ES.Then I find all of the queries route at same 3 BE nodes.
   I find the code at fe/fe-core/src/main/java/org/apache/doris/planner/EsScanNode.java
   227: candidateBeList.add(backendList.get(beIndex++ % numBe));
   numBe is always 3 when number of be is greater than 3. So that candidateBeList always add 3 front of beckendList.
   It should be corrected like:
   candidateBeList.add(backendList.get(beIndex++ % backendList.size()));
   Then FE can balance ES queries between BE nodes. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] wuyunfeng closed issue #4351: [Doris On ES][Bug] ES queries always route at same 3 BE nodes

Posted by GitBox <gi...@apache.org>.
wuyunfeng closed issue #4351:
URL: https://github.com/apache/incubator-doris/issues/4351


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [incubator-doris] wuyunfeng commented on issue #4351: [Bug] ES queries always route at same 3 BE nodes

Posted by GitBox <gi...@apache.org>.
wuyunfeng commented on issue #4351:
URL: https://github.com/apache/incubator-doris/issues/4351#issuecomment-673929093


   Thanks @caoyang10 . Will you solve this problem, if you can, I would like to assign this issue to you.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org