Skip to content

Conversation

@original-brownbear
Copy link
Contributor

Backports the following commits to 8.0:

This is motivated by a number of recent SDHs that had these transport actions
queue up on the manangement pool. These were not the reason for the blockage on
the managment queue, but they are often sent at a high rate by Beats in the same
scenarios that see a high rate of stats requests from Beats.
Moving them off of the management pool at least makes sure that we don't get Beats
retrying them over and over on slowness and generally saves some resources by
avoiding ctx switches and having these requests live for longer than necessary.

There's no point in running this on the management pool. It should have
already been fast enough for SAME with the exception of reading the public key
from disk maybe. Made it so the public key is just a constant and doesn't have
to be read+deserialized over and over and also cached the verified property for
a `License` instance so it should never have to be computed in practice anyway.
@original-brownbear original-brownbear added auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport labels Nov 29, 2021
@original-brownbear
Copy link
Contributor Author

Build failure is just some Jenkins hook failing, the build itself was green -> merging

@original-brownbear original-brownbear merged commit 4501bd9 into elastic:8.0 Nov 29, 2021
@original-brownbear original-brownbear deleted the backport/8.0/pr-80993 branch November 29, 2021 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants