mirror of
https://github.com/kvcache-ai/vllm.git
synced 2026-11-05 01:07:43 +00:00
[PR #5] [MERGED] [Bugfix] Prevent duplicate Mooncake push metadata across scheduler steps #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/vllm#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kvcache-ai/vllm/pull/5
Author: @jiaran-king
Created: 8/26/2026
Status: ✅ Merged
Merged: 8/27/2026
Merged by: @gty111
Base:
add-mooncake-ec-connector← Head:fix/mooncake-push-metadata-dedup📝 Commits (1)
456f1f2[Bugfix] Prevent duplicate Mooncake push metadata across scheduler steps📊 Changes
2 files changed (+28 additions, -1 deletions)
View changed files
📝
tests/v1/ec_connector/unit/test_ec_mooncake_connector.py(+12 -0)📝
vllm/distributed/ec_transfer/ec_connector/mooncake_ec_connector.py(+16 -1)📄 Description
Purpose
The producer scheduler currently deduplicates a push transfer only within one
scheduler step. build_connector_meta clears _pushes_to_prepare after emitting
the push specs, so revisiting the same request on a later scheduler step can
queue the same transfer_id again.
The repeated metadata reaches start_save_caches, causing redundant reservation
work for the same transfer.
This change:
No worker/consumer reservation semantics, lease settings, control protocol,
cancellation, receive-pool, or retry behavior are changed.
Duplicate-work Check
I searched open vLLM PRs for
mooncake duplicate push metadata,mooncake transfer_id scheduler, andECMooncakeConnector duplicate. No openPR addresses this request-lifetime deduplication bug. This change targets the
behavior currently present in the source branch of #41567.
AI assistance was used in preparing this change.
Test Plan
The regression test verifies:
Test Result
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.