Skip to content

Commit

Permalink
More cleanup# with '#' will be ignored, and an empty message aborts t…
Browse files Browse the repository at this point in the history
…he commit.
  • Loading branch information
abh1nay committed Apr 24, 2013
1 parent aefddee commit 6b5f854
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/java/voldemort/client/protocol/admin/StreamingClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -503,8 +503,8 @@ public synchronized void streamingPut(ByteArray key, Versioned<byte[]> value, St
throw new VoldemortException("Recovery Callback failed");
} catch(ExecutionException e1) {
MARKED_BAD = true;
logger.error("Recovery Callback failed", e1);
throw new VoldemortException("Recovery Callback failed");
logger.error("Recovery Callback failed during execution", e1);
throw new VoldemortException("Recovery Callback failed during execution");
}

e.printStackTrace();
Expand Down Expand Up @@ -632,8 +632,8 @@ private void commitToVoldemort(List<String> storeNamesToCommit) {
throw new VoldemortException("Recovery Callback failed");
} catch(ExecutionException e1) {
MARKED_BAD = true;
logger.error("Recovery Callback failed", e1);
throw new VoldemortException("Recovery Callback failed");
logger.error("Recovery Callback failed during execution", e1);
throw new VoldemortException("Recovery Callback failed during execution");
}
} else {
if(logger.isDebugEnabled()) {
Expand All @@ -645,12 +645,9 @@ private void commitToVoldemort(List<String> storeNamesToCommit) {
future.get();

} catch(InterruptedException e1) {

logger.warn("Checkpoint callback failed!", e1);

} catch(ExecutionException e1) {
logger.warn("Checkpoint callback failed!", e1);

logger.warn("Checkpoint callback failed during execution!", e1);
}
}

Expand All @@ -674,7 +671,7 @@ public synchronized void closeStreamingSessions(Callable resetCheckpointCallback
} catch(InterruptedException e1) {
logger.warn("Reset check point interrupted" + e1);
} catch(ExecutionException e1) {
logger.warn("Reset check point interrupted" + e1);
logger.warn("Reset check point interrupted during execution" + e1);
}
}

Expand Down

0 comments on commit 6b5f854

Please sign in to comment.