Skip to content

Commit

Permalink
[ISSUE #4795] Replace this exception in beginFlush() with log print a…
Browse files Browse the repository at this point in the history
…nd return false (#4797)
  • Loading branch information
jevinjiang authored Mar 20, 2024
1 parent 291d748 commit df1428f
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 df1428f

Please sign in to comment.