Jing Zhao created HDFS-7905:
-------------------------------
Summary: Refactor the checking the minimum replication logic in
BlockManager
Key: HDFS-7905
URL: https://issues.apache.org/jira/browse/HDFS-7905
Project: Hadoop HDFS
Issue Type: Improvement
Components: namenode
Reporter: Jing Zhao
Assignee: Jing Zhao
Priority: Minor
This is some refactoring separated from the HDFS-7285 branch. In the current
BlockManager, the "checking the minimum replication" code is repeated in
several places. It will be better to wrap it into a single function. This also
make the further extension (for Erasure Coded blocks) easier and cleaner.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)