codope commented on code in PR #12224:
URL: https://github.com/apache/hudi/pull/12224#discussion_r1843422740
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java:
##########
@@ -1447,11 +1457,11 @@ protected void tryUpgrade(HoodieTableMetaClient
metaClient, Option<String> insta
tableServiceClient.rollbackFailedWrites(pendingRollbacks, true, true);
}
- new UpgradeDowngrade(metaClient, config, context, upgradeDowngradeHelper)
- .run(HoodieTableVersion.current(), instantTime.orElse(null));
-
metaClient.reloadActiveTimeline();
Review Comment:
Updated now, please check. I have made `tryUpgrade` return a boolean and if
upgrade happened then reload the meta client outside tryUpgrade but still
within the transaction.
--
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]