1
0

[HUDI-2022] Release writer for append handle #close (#3087)

Co-authored-by: 喻兆靖 <yuzhaojing@bilibili.com>
This commit is contained in:
yuzhaojing
2021-06-16 09:18:38 +08:00
committed by GitHub
parent 910fe4842c
commit 61efc6af79

View File

@@ -389,6 +389,7 @@ public class HoodieAppendHandle<T extends HoodieRecordPayload, I, K, O> extends
recordItr = null;
if (writer != null) {
writer.close();
writer = null;
// update final size, once for all log files
for (WriteStatus status: statuses) {