git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/branches/branch-0.20@757452 13f79535-47bb-0310-9956-ffa450edef68
@@ -846,6 +846,9 @@ Release 0.19.2 - Unreleased
HADOOP-5522. Documents the setup/cleanup tasks in the mapred tutorial.
(Amareshwari Sriramadasu via ddas)
+ HADOOP-5549. ReplicationMonitor should schedule both replication and
+ deletion work in one iteration. (hairong)
+
Release 0.19.1 - 2009-02-23
IMPROVEMENTS
@@ -2336,8 +2336,7 @@ public class FSNamesystem implements FSConstants, FSNamesystemMBean {
corruptReplicaBlocksCount = corruptReplicas.size();
}
- if(workFound == 0)
- workFound = computeInvalidateWork(nodesToProcess);
+ workFound += computeInvalidateWork(nodesToProcess);
return workFound;