codingapi / codingapi/tx-lcn

出现的问题:1.分布式事务超时,参与者的事务没有提交,2.参与者的加入的事务组不存在

Open
#485 4 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

# SpringCloud Feign 调用服务

1.分布式事务超时:发起者开启分布式事务lcn模式,参与者加入事务,由于参与者方事务没有提交,导致发起者方的feign 调用超时

2.参与者的加入的事务组不存在:发起者发起分布式事务,参与者方出现异常:attempts to join the non-existent transaction group.

发起者均使用事务:@LcnTransaction(propagation = DTXPropagation.REQUIRED)
参与者均使用事务:@LcnTransaction(propagation = DTXPropagation.SUPPORTS)

问题是偶发性的,但是出现几率比较高,麻烦作者解答一下

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.