zhangyue19921010 commented on code in PR #5344:
URL: https://github.com/apache/hudi/pull/5344#discussion_r852603749


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/HoodieMetadataTableValidator.java:
##########
@@ -399,7 +400,9 @@ public void doMetadataTableValidation() {
     Set<String> baseFilesForCleaning = Collections.emptySet();
 
     // check metadata table is available to read.
-    checkMetadataTableIsAvailable();
+    if (!checkMetadataTableIsAvailable()) {
+      return;
+    }

Review Comment:
   Sure, changed. add another else block in checkMetadataTableIsAvailable()
   If there is no completed commits neither in data table nor MDT, 
HoodieMetadataTableValidator will skip current loop and log an info message.



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