Impl import_all_with_shards