mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #765] [MERGED] Fix Handshake Daemon Initialization Order #1805
Labels
No labels
ascend
auto-closed
bug
bug
CI/Build
Common
documentation
enhancement
feature request
good first issue
help wanted
high priority
MetaX
nightly-failure
pull-request
PyTorch Backend
question
RFC
Roadmap
stale
Store
Tests
Transfer Engine
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/Mooncake#1805
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/Mooncake/pull/765
Author: @staryxchen
Created: 8/21/2025
Status: ✅ Merged
Merged: 8/28/2025
Merged by: @stmatengss
Base:
main← Head:fix/callback📝 Commits (1)
102ab41fix(transfer): correct handshake daemon initialization order📊 Changes
1 file changed (+5 additions, -5 deletions)
View changed files
📝
mooncake-transfer-engine/src/transfer_metadata.cpp(+5 -5)📄 Description
Summary
Fixes incorrect initialization sequence in
startHandshakeDaemon()by moving the daemon start call after callback registrations.Changes
Before: Daemon started before registering callbacks
After: Callbacks registered first, then daemon started
Why
The original order could cause race conditions where the daemon becomes active before callbacks are properly set up, potentially leading to missed or improperly handled handshake events.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.