You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2026/07/09 23:03:00 UTC
[jira] [Created] (HDDS-15805) NetworkTopologyImpl.sortByDistanceCost should account for racks
Tsz-wo Sze created HDDS-15805:
---------------------------------
Summary: NetworkTopologyImpl.sortByDistanceCost should account for racks
Key: HDDS-15805
URL: https://issues.apache.org/jira/browse/HDDS-15805
Project: Apache Ozone
Issue Type: Improvement
Components: SCM
Reporter: Tsz-wo Sze
Assignee: Tsz-wo Sze
NetworkTopologyImpl.sortByDistanceCost currently sort only by distance. It should also account for racks, i.e. datanodes in the same rack should be next to each other.
|| Racks || Client/Datanodes ||
| R1 | Client |
| R2 | Dn1, Dn2 |
| R3 | Dn3 |
In the example above, the current code may return Dn1, Dn3, Dn2. Then the Client may stream Dn1 -> Dn3 -> Dn2 which unnecessarily crossing the racks twice.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org