apache / apache/dubbo

异步调用,分布式事务不存在,数据库回滚

Open
#10,142 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
41.6k
Forks
26.4k
Avg merge
15h 13m
Merged PRs (30d)
4

Description

## Ask your question here
异步调用Dubbo服务,调用方执行完成,分布式事务已经commit。但是Dubbo服务提供方耗时原因,还在执行中,导致出现错误Transaction doesn't exist,服务提供方数据回滚,从而出错。现在的问题就是:都使用了异步调用,为什么还会存在事务在服务提供方,当我使用异步调用的时候,如何才能阻止事务的传递?

Contributor guide

Open the contributing guide

Research direction

Start by reviewing Dubbo's asynchronous invocation and distributed transaction propagation behavior, using the reported provider delay and “Transaction doesn't exist” error as the reproduction scenario. Confirm whether the provider transaction is expected to remain active and document the configuration or behavior that prevents unintended propagation; no source files or tests are identified in the issue.

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.