adding missing continue

This commit is contained in:
fjy 2013-08-12 13:07:29 -07:00
parent 2ec2957207
commit dd20950f8a
1 changed files with 2 additions and 0 deletions

View File

@ -287,6 +287,7 @@ public class ZkCoordinator implements DataSegmentChangeHandler
log.error(e, "Exception loading segment[%s]", segment.getIdentifier());
removeSegment(segment);
segmentFailures.add(segment.getIdentifier());
continue;
}
File segmentInfoCacheFile = new File(config.getSegmentInfoCacheDirectory(), segment.getIdentifier());
@ -298,6 +299,7 @@ public class ZkCoordinator implements DataSegmentChangeHandler
log.error(e, "Failed to write to disk segment info cache file[%s]", segmentInfoCacheFile);
removeSegment(segment);
segmentFailures.add(segment.getIdentifier());
continue;
}
}