Skip to content

Commit

Permalink
MINOR: Remove extraneous code in LocalLogManager (apache#12168)
Browse files Browse the repository at this point in the history
Reviewers: Kvicii <[email protected]>, dengziming <[email protected]>, Divij Vaidya <[email protected]>
  • Loading branch information
mumrah authored May 18, 2022
1 parent a1cd1d1 commit 62ba4d3
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,6 @@ synchronized long tryAppend(int nodeId, int epoch, LocalBatch batch) {
}

public synchronized long append(LocalBatch batch) {
try {
throw new RuntimeException("foo");
} catch (Exception e) {
log.info("WATERMELON: appending {}", batch, e);
}
prevOffset += batch.size();
log.debug("append(batch={}, prevOffset={})", batch, prevOffset);
batches.put(prevOffset, batch);
Expand Down

0 comments on commit 62ba4d3

Please sign in to comment.