xushiyan commented on PR #6216: URL: https://github.com/apache/hudi/pull/6216#issuecomment-1226338378
> > > What kind of operations would need to cause this case? > > > > > > Because now the production environment finds that re-deleting the table (non-purge) and some other abnormal scenarios of compcation will cause the hudi properties file to be deleted, and then the re-creation of the table will fail. > > I think we need to figure out the root cause why compaction deletes `hoodie.properties`. Also can we add ut for deleting the `hoodie.properties` manually and see whether the writing works well? @leesf @XuQianJin-Stars I agree that we should fix the root cause. This patch is more like treating the symptom. @XuQianJin-Stars let's close this and try reproduce the problem you had? if any corner case where properties file was unexpectedly deleted, it should be fixed most likely around the code in https://github.com/apache/hudi/blob/a75cc02273ae87c383ae1ed46f95006c366f70fc/hudi-common/src/main/java/org/apache/hudi/common/table/HoodieTableConfig.java#L344 as mentioned by @nsivabalan -- 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]
