-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fleet] Improve package policy upgrade performance #205332
Comments
Pinging @elastic/fleet (Team:Fleet) |
These two options seem like the most immediately actionable, so I think we should pursue these in the short term.
I think we'd need to spend some time thinking about what this means and what kind of improvements we can make. I suspect the improvements above will be sufficient to optimize the integration upgrade process, but we should measure along the way to be sure. |
Do we have any kind of profiling or measurement of where the performance problem is coming from? The suggestions sounds reasonable but it's not clear that we know they'll solve the problem or what the specific problems are yet. I would prefer to start with measurement and instrumentation so we can tell when we've improved things and that we are focusing on the correct problem. |
Hello, Do we have any news regarding this issue? This is a nightmare to do everytime as we wish to keep those up to date to get the latest implementation and fix. Thank you, |
Hey @whyyouwannaknow we are actively working on some improvements in this area both on memory consumption and timing. See #211961 for some recent work around package installation/upgrade wrt to memory consumptions. This is currently a high priority for us. |
Description
Package policy upgrade after a package upgrade could be really problematic when upgrading a lot of package policies or when upgrading a large package (
aws
is a good example to use for testing)Note: it seems there is also an issue in the UI as we call the dry run upgrade API in the settinugs page to show the checkbox to upgrade integration policies
Possible optimizations
Work in progress
The text was updated successfully, but these errors were encountered: