Skip to content

Commit

Permalink
Fix ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Jun 29, 2023
1 parent de65ee6 commit 7a61cb3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,9 @@ public synchronized void commit() throws IOException {
if (logStream != null) {
logStream.flush();
filePosition += unFlushedSize;
if (filePosition > fileSize) {
fileSize = filePosition;
}
unFlushedSize = 0;
}
for (FileOutputStream log : streamsToFlush) {
Expand Down

0 comments on commit 7a61cb3

Please sign in to comment.