mirror of
https://github.com/kvcache-ai/Mooncake.git
synced 2026-11-05 01:17:55 +00:00
[PR #1371] [CLOSED] [TE] filter the local network interface #2201
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#2201
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/1371
Author: @cocktail828
Created: 1/13/2026
Status: ❌ Closed
Base:
main← Head:feat/host_passthrouth📝 Commits (1)
12b4284[TE] filter the local network interface📊 Changes
3 files changed (+107 additions, -96 deletions)
View changed files
📝
mooncake-transfer-engine/include/transfer_metadata_plugin.h(+13 -12)📝
mooncake-transfer-engine/src/transfer_engine_impl.cpp(+7 -1)📝
mooncake-transfer-engine/src/transfer_metadata_plugin.cpp(+87 -83)📄 Description
Description
Type of Change
Summary
This PR(by iflytek) improves the reliability and correctness of RPC metadata population.
In multi-NIC, containerized, or virtualized environments, automatic interface selection can inadvertently choose non-routable or internal addresses—such as 127.0.0.1 (loopback) or 172.21.0.1 (Docker bridge)—leading to RPC endpoints that are unreachable from remote peers. By prioritizing user-specified addresses, we ensure the transport layer binds to the intended network interface.
Rationale
Automatic IP/interface selection may pick:
These choices can cause RPC servers to bind to interfaces that remote clients cannot access, resulting in silent connectivity failures.
Checklist
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.