Handle unreasonable amounts of Kibana index objects more gracefully during index migrating when upgrading #91768
Labels
Feature:Saved Objects
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Describe the feature:
With a large amount of objects in Kibana system indices, an upgrade migration might take an unreasonable amount of time to complete.
Describe a specific use case for the feature:
Or use different batch, batch delay or concurrency settings if object count is over a certain limit.
migrations.batchSize
is small (100 documents)Even if we put better data lifecycle processes into newer versions that clean up excessive data, there might be migrations from older versions that don't have this and have large amounts of objects.
Any cleanup process we do have in newer versions might also be triggered before migration starts to reduce the workload on migration tasks, this could also be logged if occurring.
A recent customer case saw very large counts of objects that delayed the migration step by longer than some timeouts:
The text was updated successfully, but these errors were encountered: