This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7fe87dc7f53 [fix](routine load) should update progress before handle
transaction state transform (#39311)
7fe87dc7f53 is described below
commit 7fe87dc7f5396c692e0a139be7f51e7ed5bc8bfa
Author: hui lai <[email protected]>
AuthorDate: Wed Aug 14 16:32:07 2024 +0800
[fix](routine load) should update progress before handle transaction state
transform (#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 555ae986873..7f464f3cbec 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
@@ -336,8 +336,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]