Skip to content

Commit f99ee47

Browse files
authored
[hotfix] Log channelWriterOutputView writeBytes after close (#7101)
1 parent af23563 commit f99ee47

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

paimon-core/src/main/java/org/apache/paimon/disk/ExternalBuffer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,11 +162,11 @@ private void spill() throws IOException {
162162
: segment.size();
163163
channelWriterOutputView.write(segment, 0, bufferSize);
164164
}
165+
channelWriterOutputView.close();
165166
LOG.info(
166167
"here spill the reset buffer data with {} records {} bytes",
167168
inMemoryBuffer.size(),
168169
channelWriterOutputView.getWriteBytes());
169-
channelWriterOutputView.close();
170170
} catch (IOException e) {
171171
channelWriterOutputView.closeAndDelete();
172172
throw e;

0 commit comments

Comments
 (0)