SOR: implement polling to retrieve the current model version #152809
Labels
Epic:ZDTmigrations
Zero downtime migrations
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Part of #150312
Depends on #152219
In managed mode, the SOR will have to retrieve the informations about the current model version from the index's meta to know which version it should convert to for writes.
The scope of this issue is only to implement the polling mechanism, not to use it
Technically, we need the polling to be performed only once (one actor) for all of the instantiated repositories. So we will probably want to introduce the concept of
SavedObjectModelStatusProvider
(or any better name) that will be shared between all the repositories (and probably created/managed by the top level service)questions
The text was updated successfully, but these errors were encountered: