ElasticSearch for both visibilityStore and secondaryVisibilityStore

Hello!
We have a use-case where we are migrating from one ElasticSearch cluster to a different one. Originally, we wanted to leverage secondaryVisibilityStore to do this migration in the following fashion:

  • Write visibility data to both visibilityStore (ES) and secondaryVisibilityStore (ES)
  • Read only from secondaryVisibilityStore (ES)
  • Replace secondaryVisibilityStore so it becomes visibilityStore
    Apparently, this is not possible because we are hitting an error where secondaryVisibilityStore and visibilityStore can’t both be ElasticSearch. Am I right to assume that we are supposed to use Elasticsearch remote reindex for this? Is there any other way to migrate visibility data from one ES cluster to another one without downtime?

Thank you!