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 2022/04/01 01:44:48 UTC

[GitHub] [hudi] zhangyue19921010 commented on a change in pull request #5186: [HUDI-3451] Add checks for metadata table init to avoid possible out-of-sync

zhangyue19921010 commented on a change in pull request #5186:
URL: https://github.com/apache/hudi/pull/5186#discussion_r840154030



##########
File path: hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java
##########
@@ -208,6 +209,11 @@
       .sinceVersion("0.11.0")
       .withDocumentation("Table checksum is used to guard against partial writes in HDFS. It is added as the last entry in hoodie.properties and then used to validate while reading table config.");
 
+  public static final ConfigProperty<Boolean> METADATA_TABLE_ENABLE = ConfigProperty
+      .key("hoodie.table.metadata.enable")
+      .defaultValue(HoodieMetadataConfig.ENABLE.defaultValue())
+      .withDocumentation("Enable the internal metadata table which serves table metadata like level file listings.");

Review comment:
       3. if `METADATA_TABLE_ENABLE` is absent, we could read based on user's option.




-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org