codingapi / codingapi/tx-lcn

report造成的不一致性问题

Open
#419 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
4.2k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

```
String unitId = (String) paramList.get(2);
String transactionType = (String) paramList.get(3);
try {
transactionCleanTemplate.cleanWithoutAspectLog(groupId, unitId, transactionType, state);
} catch (TransactionClearException e) {
txLogger.error(groupId, unitId, "notify group", "{} > cleanWithoutAspectLog transaction error.", transactionType);
}
// 上报Manager,上报直到成功.
tmReporter.reportTransactionState(groupId, null, xExceptionParams.NOTIFY_GROUP_ERROR, state);
```

* 目前看也只是一次性上报,这个过程出现异常会造成事务不一致的问题``

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.