Skip to content

Commit

Permalink
Removed extra try call from DataCleanUp.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbansal committed Oct 7, 2009
1 parent 410d390 commit 1d4b518
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/java/voldemort/server/scheduler/DataCleanupJob.java
Expand Up @@ -90,10 +90,8 @@ public void run() {
} catch(Exception e) {
logger.error("Error in data cleanup job for store " + store.getName() + ": ", e);
} finally {
try {
closeIterator(iterator);
this.cleanupPermits.release();
}
closeIterator(iterator);
this.cleanupPermits.release();
}
}

Expand Down

0 comments on commit 1d4b518

Please sign in to comment.