nsivabalan commented on code in PR #9379:
URL: https://github.com/apache/hudi/pull/9379#discussion_r1286383037


##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -1195,8 +1198,7 @@ protected HoodieData<HoodieRecord> 
prepRecords(Map<MetadataPartitionType,
   public void performTableServices(Option<String> inFlightInstantTimestamp) {
     HoodieTimer metadataTableServicesTimer = HoodieTimer.start();
     boolean allTableServicesExecutedSuccessfullyOrSkipped = true;
-    try {
-      BaseHoodieWriteClient writeClient = getWriteClient();
+    try (BaseHoodieWriteClient<?, I, ?, ?> writeClient = getWriteClient()) {

Review Comment:
   sorry, we might have to revert this. we try to re-use an existing instance 
of write client 



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