[ https://issues.apache.org/jira/browse/HUDI-2591?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sivabalan narayanan updated HUDI-2591: -------------------------------------- Status: Patch Available (was: In Progress) > Double bootstrap of metadata table when upgrade is involved > ----------------------------------------------------------- > > Key: HUDI-2591 > URL: https://issues.apache.org/jira/browse/HUDI-2591 > Project: Apache Hudi > Issue Type: Sub-task > Reporter: Prashant Wason > Assignee: Prashant Wason > Priority: Blocker > Labels: pull-request-available > Fix For: 0.10.0 > > > Metadata table is bootstrapped in the SparkRDDWriteClient constructor. Check > for the upgrade/downgrade is performed during the operation when the > HoodieTable object is created. > If the dataset is upgraded to new version, the metadata table will be > deleted. The bootstrap of the metadata table in the constructor will be a > waste. > Hence, we should bootstrap only if an upgrade / downgrade is not required on > the dataset. -- This message was sent by Atlassian Jira (v8.3.4#803005)