Skip to content

Fix a race condition when launching the same backend concurrently from two clients. - #886

Merged
PCMan merged 2 commits into
masterfrom
fix_backend_race
Jul 25, 2026
Merged

Fix a race condition when launching the same backend concurrently from two clients.#886
PCMan merged 2 commits into
masterfrom
fix_backend_race

Conversation

@PCMan

@PCMan PCMan commented Jul 25, 2026

Copy link
Copy Markdown
Member

PR#880 by @omni624562 introduced a small regression bug in the rust backend manager. When two clients try to connect to the same backend and it hasn't been launched, the backend process might run twice. The PR solves the issue along with minor refactor to improve code readability.

@PCMan
PCMan requested a review from ottokang July 25, 2026 09:16
@PCMan PCMan self-assigned this Jul 25, 2026
@PCMan PCMan added the bug label Jul 25, 2026
@PCMan
PCMan requested a review from KenLuoTW July 25, 2026 16:15
…m two clients.

Merging  PR#880 introduced a regression bug in the rust backend manager.
When two clients try to connect to the same backend and it hasn't been launched, the backend process might run twice.
The CL solves the issue along with minor refactor to improve code readability.
@PCMan
PCMan force-pushed the fix_backend_race branch from a8efeb5 to d260d9d Compare July 25, 2026 17:52
@PCMan
PCMan force-pushed the fix_backend_race branch from 799f038 to 721f7f0 Compare July 25, 2026 21:27
@PCMan
PCMan removed request for KenLuoTW and ottokang July 25, 2026 22:36
@PCMan
PCMan merged commit 9f6a1e9 into master Jul 25, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant