model loading, dash
This commit is contained in:
@@ -531,7 +531,7 @@ def _start_heartbeat(
|
||||
if applied.get("action") == "ADD_SHARD":
|
||||
_register_additional_assignment(applied)
|
||||
return applied
|
||||
if applied.get("action") == "DROP_SHARD":
|
||||
if applied.get("action") in {"DROP_SHARD", "DROP_ALL_SHARDS"}:
|
||||
# A release has no replacement range. It is not a failed
|
||||
# heartbeat and must not re-register the released assignment.
|
||||
return applied
|
||||
|
||||
Reference in New Issue
Block a user