Skip to content

Commit 04aab81

Browse files
committed
When a flink job has multiple sink tables, the index loading status is abnormal
1 parent 5cf8699 commit 04aab81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/sink/bootstrap/BootstrapOperator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void waitForBootstrapReady(int taskID) {
160160
int readyTaskNum = 1;
161161
while (taskNum != readyTaskNum) {
162162
try {
163-
readyTaskNum = aggregateManager.updateGlobalAggregate(BootstrapAggFunction.NAME, taskID, new BootstrapAggFunction());
163+
readyTaskNum = aggregateManager.updateGlobalAggregate(BootstrapAggFunction.NAME + conf.getString(FlinkOptions.TABLE_NAME), taskID, new BootstrapAggFunction());
164164
LOG.info("Waiting for other bootstrap tasks to complete, taskId = {}.", taskID);
165165

166166
TimeUnit.SECONDS.sleep(5);

0 commit comments

Comments
 (0)