-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed as not planned
Closed as not planned
Copy link
Labels
Feature:EPMFleet team's Elastic Package Manager (aka Integrations) projectFleet team's Elastic Package Manager (aka Integrations) projectFeature:FleetFleet team's agent central management projectFleet team's agent central management projectTeam:FleetTeam label for Observability Data Collection Fleet teamTeam label for Observability Data Collection Fleet team
Description
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
- Uninstall uploaded packages and log a warning about this during /setup?
- Show a warning in the UI when uploaded packages with missing sources are detected?
- Log a warning whenever an operation fails to access a package file and hope for the best?
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.
Metadata
Metadata
Assignees
Labels
Feature:EPMFleet team's Elastic Package Manager (aka Integrations) projectFleet team's Elastic Package Manager (aka Integrations) projectFeature:FleetFleet team's agent central management projectFleet team's agent central management projectTeam:FleetTeam label for Observability Data Collection Fleet teamTeam label for Observability Data Collection Fleet team