Skip to content

Commit

Permalink
removed redundant catch block
Browse files Browse the repository at this point in the history
  • Loading branch information
suddendust committed Dec 24, 2021
1 parent 2fdb3c2 commit b486e5a
Showing 1 changed file with 0 additions and 5 deletions.
Expand Up @@ -236,10 +236,6 @@ public void reloadAllSegments(String tableNameWithType, boolean forceDownload,
segmentRefreshSemaphore.acquireSema(segmentMetadata.getName(), LOGGER);
try {
reloadSegment(tableNameWithType, segmentMetadata, tableConfig, schema, forceDownload);
} catch (Exception e) {
LOGGER.error("Caught exception while reloading segment: {} in table: {}", segmentName, tableNameWithType, e);
failedSegments.add(segmentName);
sampleException.set(e);
} finally {
segmentRefreshSemaphore.releaseSema();
}
Expand Down Expand Up @@ -419,5 +415,4 @@ public ZkHelixPropertyStore<ZNRecord> getPropertyStore() {
public SegmentUploader getSegmentUploader() {
return _segmentUploader;
}

}

0 comments on commit b486e5a

Please sign in to comment.