python/ray/serve/deployment_state.py
def recover(self):
        """
        Recover states in DeploymentReplica instance by fetching running actor
        status
        """
        logger.debug(
            f"Recovering replica {self.replica_tag} for deployment "
            f"{self.deployment_name}."
        )
        self._actor_handle = self.actor_handle
        if USE_PLACEMENT_GROUP:
            self._placement_group = self.get_placement_group(self._placement_group_name)

        # Re-fetch initialization proof
        self._allocated_obj_ref = self._actor_handle.is_allocated.remote()

        # Running actor handle already has all info needed, thus successful
        # starting simply means retrieving replica version hash from actor
        self._ready_obj_ref = self._actor_handle.get_metadata.remote()

        Recover states in DeploymentReplica instance by fetching running actor
        status
        
Recover states in DeploymentReplica instance by fetching running actor
status
Recover states in DeploymentReplica instance by fetching running actor status
def recover(self):
        logger.debug(
            f"Recovering replica {self.replica_tag} for deployment "
            f"{self.deployment_name}."
        )
        self._actor_handle = self.actor_handle
        if USE_PLACEMENT_GROUP:
            self._placement_group = self.get_placement_group(self._placement_group_name)
        self._allocated_obj_ref = self._actor_handle.is_allocated.remote()
        self._ready_obj_ref = self._actor_handle.get_metadata.remote()
def recover ( self ) : logger . debug ( f"Recovering replica {self.replica_tag} for deployment " f"{self.deployment_name}." ) self . _actor_handle = self . actor_handle if USE_PLACEMENT_GROUP : self . _placement_group = self . get_placement_group ( self . _placement_group_name ) self . _allocated_obj_ref = self . _actor_handle . is_allocated . remote ( ) self . _ready_obj_ref = self . _actor_handle . get_metadata . remote ( )
Recover states in DeploymentReplica instance by fetching running actor
status
Recover states in DeploymentReplica instance by fetching running actor status
"""
        Recover states in DeploymentReplica instance by fetching running actor
        status
        """ # Re-fetch initialization proof # Running actor handle already has all info needed, thus successful # starting simply means retrieving replica version hash from actor
self