danny0405 commented on code in PR #12644:
URL: https://github.com/apache/hudi/pull/12644#discussion_r1917557663
##########
hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/compact/CompactionPlanOperator.java:
##########
@@ -82,7 +83,7 @@ public void open() throws Exception {
// when starting up, rolls back all the inflight compaction instants if
there exists,
// these instants are in priority for scheduling task because the
compaction instants are
// scheduled from earliest(FIFO sequence).
- CompactionUtil.rollbackCompaction(table);
+ CompactionUtil.rollbackCompaction(table,
FlinkWriteClients.createWriteClient(conf, getRuntimeContext()));
Review Comment:
Can we create a singleton write client for the whole operator and be caution
that the write client has two kinds of instantces: server for coordinator and
client for regular operators.
--
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]