vinothchandar commented on a change in pull request #3427:
URL: https://github.com/apache/hudi/pull/3427#discussion_r687991881



##########
File path: 
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/AbstractHoodieWriteClient.java
##########
@@ -403,7 +403,9 @@ protected void preWrite(String instantTime, 
WriteOperationType writeOperationTyp
         .isPresent()
         ? Option.of(lastCompletedTxnAndMetadata.get().getLeft()) : 
Option.empty());
     try {
-      syncTableMetadata();
+      if (writeOperationType != WriteOperationType.CLUSTER && 
writeOperationType != WriteOperationType.COMPACT) {

Review comment:
       Clean does not go thru preWrite/postCommit IIRC. So we should already be 
ok. I ll double check this and also callers of commitStats




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