Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,11 @@ protected RoutineLoadTaskInfo unprotectRenewTask(RoutineLoadTaskInfo routineLoad

@Override
protected void unprotectUpdateProgress() throws UserException {
// For cloud mode, should update cloud progress from meta service,
// then update progress with default offset from Kafka if necessary.
if (Config.isCloudMode()) {
updateCloudProgress();
}
updateNewPartitionProgress();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
package org.apache.doris.load.routineload;

import org.apache.doris.catalog.Env;
import org.apache.doris.common.Config;
import org.apache.doris.common.FeConstants;
import org.apache.doris.common.LoadException;
import org.apache.doris.common.MetaNotFoundException;
Expand Down Expand Up @@ -79,10 +78,6 @@ private void process() throws UserException {
RoutineLoadJob.JobState errorJobState = null;
UserException userException = null;
try {
if (Config.isCloudMode()) {
routineLoadJob.updateCloudProgress();
}

routineLoadJob.prepare();
// judge nums of tasks more than max concurrent tasks of cluster
int desiredConcurrentTaskNum = routineLoadJob.calculateCurrentConcurrentTaskNum();
Expand Down
Loading