Use replica database for Elastic migrations
Background
In https://gitlab.com/gitlab-com/gl-infra/capacity-planning-trackers/gitlab-com/-/issues/1877+ we saw an Elastic migration backfilling from the database put significant pressure on the database. One of the suggestions is to use a replica in this case.
Proposal
Use the replica database for running Elastic migrations.