-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[Bugfix][Core] fix KeyError in _update_waiting_for_remote_kv #25563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -1287,5 +1287,7 @@ def _update_from_kv_xfer_finished(self, | |||||||||||||||||
| logger.debug("Finished recving KV transfer for request %s", req_id) | ||||||||||||||||||
| self.finished_recving_kv_req_ids.add(req_id) | ||||||||||||||||||
| for req_id in (kv_connector_output.finished_sending or ()): | ||||||||||||||||||
| if req_id not in self.requests: | ||||||||||||||||||
| continue | ||||||||||||||||||
| logger.debug("Finished sending KV transfer for request %s", req_id) | ||||||||||||||||||
| self._free_blocks(self.requests[req_id]) | ||||||||||||||||||
|
Comment on lines
+1290
to
1293
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The added check correctly prevents the
Suggested change
|
||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we could also add the existence check for
for req_id in (kv_connector_output.finished_recving or ()):