[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.
This commit is contained in:
hui lai
2024-08-19 21:23:59 +08:00
committed by GitHub
parent 3d8b04a782
commit 9647885b95

View File

@ -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