This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new 9647885b958 [fix](routine load) should update progress before handle
transaction state transform (#39311) (#39526)
9647885b958 is described below
commit 9647885b958012c1eaf82b0d436cbd2dfeedc6eb
Author: hui lai <[email protected]>
AuthorDate: Mon Aug 19 21:23:59 2024 +0800
[fix](routine load) should update progress before handle transaction state
transform (#39311) (#39526)
pick (#39311)
Update progress maybe throw exception, causing offset has been persisted
on edit log or meta service, but the memory data has not been updated.
It will cause repeated consumption.
---
.../java/org/apache/doris/load/routineload/KafkaRoutineLoadJob.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/KafkaRoutineLoadJob.java
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/KafkaRoutineLoadJob.java
index 22de3ef3574..12aab19a4a1 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/load/routineload/KafkaRoutineLoadJob.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/load/routineload/KafkaRoutineLoadJob.java
@@ -298,8 +298,8 @@ public class KafkaRoutineLoadJob extends RoutineLoadJob {
@Override
protected void updateProgress(RLTaskTxnCommitAttachment attachment) throws
UserException {
- super.updateProgress(attachment);
updateProgressAndOffsetsCache(attachment);
+ super.updateProgress(attachment);
}
@Override
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]