Class SystemIndexMigrator

public class SystemIndexMigrator extends AllocatedPersistentTask
This is where the logic to actually perform the migration lives - run(SystemIndexMigrationTaskState) will be invoked when the migration process is started, plus any time the node running the migration drops from the cluster/crashes/etc. See SystemIndexMigrationTaskState for the data that's saved for node failover.