[Fleet] Add error handling: uploaded package missing from in-memory cache #82010
Labels
Feature:EPM
Fleet team's Elastic Package Manager (aka Integrations) project
Feature:Fleet
Fleet team's agent central management project
Team:Fleet
Team label for Observability Data Collection Fleet team
Currently, when Kibana is restarted, all packages are gone from the in-memory cache, so further operations that need access to package content will potentially fail, even if the package assets (dashboards, visualizations, pipelines, mappings etc.) are still safely installed.
For registry packages, there is
ensureCachedArchiveInfo()
that re-fetches the package from the registry and re-fills the in-memory cache whenever necessary.For uploaded packages, we need a strategy how to handle this case
This problem will be less urgent once we store all packages in a dedicated ES index (see #81110 ). It can still happen when the package storage index disappears, is accidentally deleted, wasn’t included in a backup etc.
The text was updated successfully, but these errors were encountered: