Skip to content

Commit adc77ee

Browse files
committed
fast break
1 parent ff1a312 commit adc77ee

File tree

1 file changed

+1
-0
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement

1 file changed

+1
-0
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2966,6 +2966,7 @@ void removeDNLeaseIfNeeded(DatanodeDescriptor node) {
29662966
for (DatanodeStorageInfo sInfo : node.getStorageInfos()) {
29672967
if (sInfo.getBlockReportCount() == 0) {
29682968
needRemoveLease = false;
2969+
break;
29692970
}
29702971
}
29712972
if (needRemoveLease) {

0 commit comments

Comments
 (0)