[Bugfix][KV Offloading] Fix stale transfer_jobs after reset_cache + harden job completion (#48102)

Signed-off-by: Alex <alex.tech.lab@outlook.com>

AlexHuang committed Jul 13, 2026 at 01:00 UTC 4c81772e8bdf9e37ab2b8adfd80e4308b618fa92
1 file changed +1
vllm/distributed/kv_transfer/kv_connector/v1/offloading/scheduler.py
+1
@@ -1310,6 +1310,7 @@ class OffloadingConnectorScheduler:
1310 for status in self._req_status.values():
1311 for group_state in status.group_states:
1312 group_state.next_stored_block_idx = 0
1313 + status.transfer_jobs.clear()
1314
1315 # Discard jobs and save job_counter to be able to discard worker responses
1316 self._stale_job_threshold = self._job_counter