Skip to content

Commit

Permalink
[ISSUE #8532] Fix flush metadata when commit file because of full file (
Browse files Browse the repository at this point in the history
  • Loading branch information
bxfjb committed Aug 14, 2024
1 parent 524ca4e commit 227be2c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public AppendResult append(ByteBuffer buffer, long timestamp) {
log.info("FlatAppendFile#append not successful for the file {} is full, commit result={}",
fileSegment.getPath(), commitResult);
if (commitResult) {
this.flushFileSegmentMeta(fileSegment);
return this.rollingNewFile(this.getAppendOffset()).append(buffer, timestamp);
} else {
return AppendResult.UNKNOWN_ERROR;
Expand Down

0 comments on commit 227be2c

Please sign in to comment.