[GCS]Fix a bug that creates invalid connection (#11590)
[GCS]Fix a bug that creates invalid connection (#11590)

Co-authored-by: 灵洵 <9f303c766a4db37849d32b58fe73f54ea6bc6b9e@antfin.com>
richardliaw/ray,ray-project/ray,pcmoritz/ray-1,richardliaw/ray,richardliaw/ray,ray-project/ray,richardliaw/ray,ray-project/ray,ray-project/ray,pcmoritz/ray-1,richardliaw/ray,richardliaw/ray,pcmoritz/ray-1,ray-project/ray,pcmoritz/ray-1,ray-project/ray,richardliaw/ray,ray-project/ray,pcmoritz/ray-1,pcmoritz/ray-1,richardliaw/ray,pcmoritz/ray-1,pcmoritz/ray-1,ray-project/ray