... on as many servers as we want Set the migration key in platform for all users: User.storage_customer.each do |u| FiveAppsStore::Application.redis_remotestorage.hset( "rs:size_migration", u.username, "not_started" ) end
... And write it to Redis Usage: ENVIRONMENT=development ./migrate_storage_size_from_metadata.rb username