[Fix] disaggregation: Restart a lost prefill's heartbeat miss count (#45922)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Peng Wu
2026-10-24 01:26:10 +08:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 74c08f3dc5
commit 16aa816060
2 changed files with 44 additions and 0 deletions
@@ -1960,6 +1960,9 @@ class CommonKVManager(BaseKVManager):
for k in keys_to_remove:
del self.connection_pool[k]
self.prefill_info_table.pop(failed_bootstrap_addr, None)
# A prefill that a later request reaches again starts with no
# misses; a kept count would drop it at its first missed heartbeat.
self.heartbeat_failures.pop(failed_bootstrap_addr, None)
possible_affected_rooms = list(
self.addr_to_rooms_tracker.get(failed_bootstrap_addr, [])