lazy migration for putting all shared_by domains into valid_domains