If I restart the query-frontend while queriers are running then we can't achieve -querier.max-concurrent
#4391
Closed
1 of 2 tasks
Describe the bug
If query-frontend and querier are restarted at the same time, or query-frontend is restarted while queriers are running, then
-querier.max-concurrent
cannot be achieved.To Reproduce
-querier.max-concurrent
-querier.max-concurrent
is no longer achievable.Expected behavior
Should still be able to achieve
-querier.max-concurrent
.Environment:
We are running on k8s.
Storage Engine
Additional Context
My suspicion is because in the
worker.go
AddressRemoved
does not callresetConcurrency()
Imagine the following cases:
-querier.max-concurrent
is set to 8Now, we restart the query-frontend, and the DNS Watch on the querier (
worker.go
) will get to work and start adding and removing addresses.AddressRemoved
method does not callresetConcurrency()
to recalculate the load distribution, we end up having fe4 has 1 connection to querier, fe5 has 1, and fe6 has 1. Which is just 3 instead of 8.Below is a graph showing achievement of
-querier.max-concurrent=8
during different phases.The text was updated successfully, but these errors were encountered: