Implementing MigrateServedTypes, except for master

And use it in resharding test.