mirror of
https://github.com/deepseek-ai/3FS.git
synced 2026-11-05 00:47:47 +00:00
[PR #419] fix(data-placement): normalize peer recovery traffic constraints #423
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#423
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/419
Author: @030611
Created: 8/10/2026
Status: 🔄 Open
Base:
main← Head:fix/data-placement-peer-traffic-318📝 Commits (1)
5218c8ffix(data-placement): normalize CR peer recovery traffic📊 Changes
2 files changed (+16 additions, -2 deletions)
View changed files
📝
deploy/data_placement/src/model/data_placement.py(+3 -2)📝
deploy/data_placement/test/test_model.py(+13 -0)📄 Description
Fixes #318.
calc_peer_recovery_trafficcurrently returns the number of groups shared by a disk pair, whileget_peer_trafficandcheck_solutionuse normalized recovery traffic:shared_groups * recovery_traffic_factor / (group_size - 1)This change uses the same unit in the Pyomo constraints. The EC expression is algebraically unchanged because its recovery factor is
group_size - 1; CR now accounts for recovery traffic being split across the other group members.The regression test uses the 2-(4,3,2) CR BIBD case. It is infeasible with the previous bound and feasible after normalization.
Tested with:
pytest test/test_model.py(18 passed)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.