This is an automated email from the ASF dual-hosted git repository. vinoyang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push: new afbafe7 [HUDI-1992] Release the new records map for merge handle #close (#3056) afbafe7 is described below commit afbafe70469c40ae6c23eec59848ca92b2f07fc7 Author: Danny Chan <yuzhao....@gmail.com> AuthorDate: Wed Jun 9 21:12:56 2021 +0800 [HUDI-1992] Release the new records map for merge handle #close (#3056) --- .../src/main/java/org/apache/hudi/io/HoodieMergeHandle.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java index 95421d9..a7602ea 100644 --- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java +++ b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/io/HoodieMergeHandle.java @@ -344,6 +344,7 @@ public class HoodieMergeHandle<T extends HoodieRecordPayload, I, K, O> extends H } } + keyToNewRecords.clear(); ((ExternalSpillableMap) keyToNewRecords).close(); writtenRecordKeys.clear();