You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve scalability of get-license action (#134457)
Today this action runs on the transport worker thread and forwards the
request on to the master by default. It turns out that Elastic Agent
uses this API as a readiness check whenever opening a new connection, so
a thundering herd of 1000s of agents can prevent the transport worker
threads from doing more useful work for far too long, leading to high
latency and timeouts.
This commit changes the default behaviour to run the action on the local
node rather than forwarding to the master (although the option remains
to specify `?local=false`) and dispatches the work off of the transport
worker early.
0 commit comments