Skip to content

Commit

Permalink
[ISSUE #4795] replace this exception with log print and return false.
Browse files Browse the repository at this point in the history
  • Loading branch information
jevinjiang committed Mar 20, 2024
1 parent 0250a89 commit 5641606
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ private boolean isFlushing() {
*/
public synchronized boolean beginFlush() {
if (isFlushing()) {
throw new RuntimeException("OffsetStorageWriter is already flushing");
log.warn("OffsetStorageWriter is already flushing");
return false;
}
if (data.isEmpty()) {
return false;
Expand Down

0 comments on commit 5641606

Please sign in to comment.