mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[PR #356] [MERGED] Fix transport leak caused by one-shot clients #385
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
deepseek-ai/3FS#385
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/deepseek-ai/3FS/pull/356
Author: @SF-Zhou
Created: 10/24/2025
Status: ✅ Merged
Merged: 10/24/2025
Merged by: @SF-Zhou
Base:
main← Head:dev📝 Commits (1)
427d572Fix transport leak caused by one-shot clients📊 Changes
1 file changed (+14 additions, -3 deletions)
View changed files
📝
src/common/net/IOWorker.cc(+14 -3)📄 Description
When the client sends a request and exits quickly, the server successfully processes the request after adding the connection to the event loop and triggers the removal of the connection. However, at this point, the connection does not yet exist in the transport pool, causing the removal to fail. This subsequently leads to the connection being added to the transport pool and results in a leak. This MR fixes the issue. Currently, it is observed that UNIX domain socket connections are the most affected.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.