apache / apache/incubator-seata-samples

执行事务回滚报错

Open
#102 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.4k
Forks
2k
PR merge metrics
No merged PRs in 30d

Description

执行http://127.0.0.1:8084/purchase/commit 数据正常变化。
执行http://l127.0.0.1:8084/purchase/rollback 页面显示 false,server报错:远程主机强迫关闭了一个现有的连接。
AccountApplication错误日志:java.lang.RuntimeException: account branch exception。
OrderApplication错误日志:feign.FeignException: status 500 reading UserFeignClient#debit(String,BigDecimal); content:

Contributor guide

Open the contributing guide

Research direction

Reproduce the purchase/commit and purchase/rollback requests, then inspect the AccountApplication and OrderApplication logs around the account branch exception and UserFeignClient#debit(String,BigDecimal) 500 response. Trace the rollback request through these application entry points and verify that rollback completes without the reported connection closure or Feign error.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.