[SO Migration] increasing performance by getting rid of the temporary index #104080
Labels
discuss
Feature:Saved Objects
project:ResilientSavedObjectMigrations
Reduce Kibana upgrade failures by making saved object migrations more resilient
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Given that
I think we don’t have any more reason to use a temporary index between the source and the target. We need some further investigation to confirm that this hypothesis is correct, but if so, we could just read batches of documents from the source, and index them in the target, then proceed with the mapping update as we’re already doing. It would allow us to get rid of the whole clone + refresh target operations.
Note that the time complexity would remain linear in that case, but it could still be a non-negligible improvement.
The text was updated successfully, but these errors were encountered: