[fix](routine-load) avoid routine load pause for check transaction status fail (#32638)
This commit is contained in:
committed by
yiguolei
parent
d30ad2ba04
commit
8a6fc79797
@ -1114,7 +1114,8 @@ public abstract class RoutineLoadJob extends AbstractTxnStateChangeCallback impl
|
||||
return;
|
||||
}
|
||||
RoutineLoadTaskInfo routineLoadTaskInfo = routineLoadTaskInfoOptional.get();
|
||||
if (routineLoadTaskInfo.getTxnStatus() != TransactionStatus.COMMITTED) {
|
||||
if (routineLoadTaskInfo.getTxnStatus() != TransactionStatus.COMMITTED
|
||||
&& routineLoadTaskInfo.getTxnStatus() != TransactionStatus.VISIBLE) {
|
||||
// TODO(cmy): Normally, this should not happen. But for safe reason, just pause the job
|
||||
String msg = String.format(
|
||||
"should not happen, we find that task %s is not COMMITTED when handling afterVisble."
|
||||
|
||||
Reference in New Issue
Block a user