Charles Connell created HDFS-17997:
--------------------------------------
Summary: Choose erasure-coded internal block relief copies that
fix the placement
Key: HDFS-17997
URL: https://issues.apache.org/jira/browse/HDFS-17997
Project: Hadoop HDFS
Issue Type: Sub-task
Components: erasure-coding
Affects Versions: 3.4.3
Reporter: Charles Connell
Assignee: Charles Connell
When every internal block is live but the placement is unsafe,
ErasureCodingWork copied a single internal block from the most populated rack
to the first target. That adds a rack but does not necessarily take anything
off an over-budget domain, and the other targets were unused.
Give every target a copy chosen to improve the placement: an internal block
whose only copies are in the most over-budget domain, or, if the target's
domain holds nothing of the group yet, any internal block. A target for which
no copy helps is left unused (and, with the previous
commit, is not awaited by pending reconstruction).
AI disclosure: I used AI assist in researching this issue, writing the
forthcoming PR, and writing this issue description.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]