You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "zhangyue19921010 (via GitHub)" <gi...@apache.org> on 2025/05/18 09:44:32 UTC
Re: [PR] [HUDI-9419] Fix upgrade action for Flink writer [hudi]
zhangyue19921010 commented on code in PR #13310:
URL: https://github.com/apache/hudi/pull/13310#discussion_r2094460024
##########
hudi-client/hudi-flink-client/src/main/java/org/apache/hudi/client/HoodieFlinkWriteClient.java:
##########
@@ -415,14 +413,13 @@ public void completeTableService(
}
/**
- * Upgrade downgrade the Hoodie table.
+ * Try upgrade the Hoodie table.
*
* <p>This action should only be executed once for each commit.
* The modification of the table properties is not thread safe.
*/
- public void upgradeDowngrade(String instantTime, HoodieTableMetaClient metaClient) {
- new UpgradeDowngrade(metaClient, config, context, FlinkUpgradeDowngradeHelper.getInstance())
- .run(HoodieTableVersion.current(), instantTime);
+ public void tryUpgrade(String instantTime, HoodieTableMetaClient metaClient) {
+ tryUpgrade(metaClient, Option.ofNullable(instantTime));
Review Comment:
Hi @cshuo Is there any context here? Why Flink OperatorCoordinator no need to take care of `downgrade` anymore?
--
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