Skip to content

bugfix: modify the link/unlink workflow for MIX instances.#47

Merged
JimHsiung merged 1 commit into
jd-opensource:mainfrom
JimHsiung:bugfix/mix_link
Mar 18, 2026
Merged

bugfix: modify the link/unlink workflow for MIX instances.#47
JimHsiung merged 1 commit into
jd-opensource:mainfrom
JimHsiung:bugfix/mix_link

Conversation

@JimHsiung
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request contains a fix for TimePredictor and refactors the linking/unlinking workflow for MIX instances. The change in time_predictor.cpp correctly fixes an initialization bug. However, the refactoring in instance_mgr.cpp for MIX instances introduces a critical issue by making the instance linking unidirectional. This would leave peer instances unaware of the new MIX instance. I've added comments to restore the necessary bidirectional linking for both the main logic and the error-handling rollback path.

Comment thread xllm_service/scheduler/managers/instance_mgr.cpp
Comment thread xllm_service/scheduler/managers/instance_mgr.cpp
@JimHsiung JimHsiung merged commit 2f9bfe0 into jd-opensource:main Mar 18, 2026
1 check passed
@JimHsiung JimHsiung deleted the bugfix/mix_link branch March 18, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants