model loading, dash

This commit is contained in:
Dobromir Popov
2026-07-15 13:55:38 +02:00
parent 2852b1f80b
commit 47b243cd98
5 changed files with 95 additions and 15 deletions

View File

@@ -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