codingapi / codingapi/tx-lcn

微服务bff 调用服务A和服务B

Open
#433 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

### Bug Description

微服务bff只做业务聚合 分别先后调用服务A和服务B,进行插入操作,B会有唯一键值验证,会报错抛异常,此时A不会进行回滚.
但是我直接拿A插入本地,再调B做插入操作 此时抛出异常A就会回滚.

Contributor guide

No contributing guide indexed for this repository

Research direction

No source files, tests, or entry points are named. Start by reproducing the two insertion sequences described: the BFF calling services A and B, and the local call to A followed by B; compare their transaction boundaries and exception handling. Done requires identifying why the rollback behavior differs and confirming the expected outcome.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend, distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.