vinothchandar commented on code in PR #12236:
URL: https://github.com/apache/hudi/pull/12236#discussion_r1840307272


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieClient.java:
##########
@@ -116,6 +122,18 @@ protected BaseHoodieClient(HoodieEngineContext context, 
HoodieWriteConfig client
   @Override
   public void close() {
     stopEmbeddedServerView(true);
+    // close all metadata writer instances
+    metadataWriterMap.entrySet().forEach(entry -> {

Review Comment:
   So if a writeClient is reused across writes, these MDTWriter instances will 
hang around till close()?



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to