You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/11/23 18:52:40 UTC
[GitHub] [hudi] vinothchandar commented on a change in pull request #2249: [HUDI-1358] Fix leaks in DiskBasedMap and LazyFileIterable
vinothchandar commented on a change in pull request #2249:
URL: https://github.com/apache/hudi/pull/2249#discussion_r528924773
##########
File path: hudi-common/src/main/java/org/apache/hudi/common/util/collection/LazyFileIterable.java
##########
@@ -38,6 +38,8 @@
// Stores the key and corresponding value's latest metadata spilled to disk
private final Map<T, DiskBasedMap.ValueMetadata> inMemoryMetadataOfSpilledData;
+ private transient Thread shutdownThread = null;
Review comment:
I think I had the same question. Its just defensive coding.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org