Slackbot
05/16/2023, 12:36 AMGian Merlino
05/16/2023, 1:11 AMGian Merlino
05/16/2023, 1:11 AMGian Merlino
05/16/2023, 1:12 AMGian Merlino
05/16/2023, 1:12 AMGian Merlino
05/16/2023, 1:12 AMtransparent_reconnection
on https://calcite.apache.org/avatica/docs/client_reference.htmlGian Merlino
05/16/2023, 1:13 AMtrue
NKorade
05/16/2023, 7:14 PMNKorade
05/16/2023, 7:14 PMDo you have more than one Broker?Yes, we have multiple brokers, 3 at this time.
NKorade
05/16/2023, 7:30 PMIf no druid.router.avatica.balancer property is set, the Router will also default to using the Rendezvous Hash Balancer.
Were you referring to this configuration (druid.router.avatica.balancer
)? If yes, given we are not setting it explicitly, it's defaulting to Rendezvous Hash Balancer
. Won't this be sufficient to take care of stickiness?NKorade
05/17/2023, 12:49 AM# Number of threads used by the Router proxy http client
druid.router.http.numMaxThreads=100
druid.server.http.numThreads=100
The doc explains druid.router.http.numMaxThreads
for router. However, I didn't find druid.server.http.numThreads
explained anywhere for the router. What's the difference between the two?NKorade
05/17/2023, 12:51 AMIf so, make sure you're getting sticky connections:@Gian Merlino I added the following configuration to our routers. The number of
org.apache.calcite.avatica.NoSuchConnectionException
exceptions actually increased and they are more consistently happening now.Gian Merlino
05/17/2023, 3:45 AMGian Merlino
05/17/2023, 3:50 AMorg.apache.druid.server.router
package. you'll see logs like this: "Balancer class [%s] sending request with connectionId [%s] to server: %s"
NKorade
05/17/2023, 4:36 AMNKorade
05/17/2023, 4:36 AMDidip Kerabat
05/18/2023, 2:28 AMGanesh Asokan
07/27/2023, 6:16 AMAggelos Karalias
07/27/2023, 7:00 AMGanesh Asokan
07/27/2023, 1:33 PMERROR [qtp200377362-194] org.apache.druid.sql.avatica.DruidMeta - No such connection: 1479364d-d077-4ade-bd05-f1277ade7ec1