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()); log.error(e, "Exception loading segment[%s]", segment.getIdentifier());
removeSegment(segment); removeSegment(segment);
segmentFailures.add(segment.getIdentifier()); segmentFailures.add(segment.getIdentifier());
continue;
} }
File segmentInfoCacheFile = new File(config.getSegmentInfoCacheDirectory(), segment.getIdentifier()); 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); log.error(e, "Failed to write to disk segment info cache file[%s]", segmentInfoCacheFile);
removeSegment(segment); removeSegment(segment);
segmentFailures.add(segment.getIdentifier()); segmentFailures.add(segment.getIdentifier());
continue;
} }
} }