Such separation allows using query_ranges_to_vnodes_generator by other services without needing a storage_proxy dependency.