We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6b98094 + 8c732fe commit 8d11de8Copy full SHA for 8d11de8
python/ray/serve/_private/deployment_state.py
@@ -3350,6 +3350,11 @@ def check_and_update_replicas(self):
3350
if (
3351
active_replicas
3352
and self._curr_status_info.status == DeploymentStatus.HEALTHY
3353
+ # Skip consistency check if there are STARTING replicas. During node
3354
+ # migration, new replicas are created in STARTING state (without ranks)
3355
+ # after the status is set to HEALTHY. Running the consistency check
3356
+ # with STARTING replicas causes "active keys without ranks" error.
3357
+ and self._replicas.count(states=[ReplicaState.STARTING]) == 0
3358
):
3359
replicas_to_reconfigure = (
3360
self._rank_manager.check_rank_consistency_and_reassign_minimally(
0 commit comments