apache / apache/dubbo

Dubbo Grpc 事务没有提交,就返回reponse,之后事务提交失败问题

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

Description

Dubbo Grpc 事务没有提交,就返回reponse, Respon 没有返回数据,之后事务提交失败问题,这样导致客户端不知道服务端错误。有什么好的解决办法? 可以手动控制事务,没有注解方便
image

如果dubbo 支持这样调用,应该不会有这样问题:
image

@EarthChen @chickenlj

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Dubbo gRPC call with a transaction that fails during commit, then trace when the response is returned relative to transaction completion. Review the linked screenshots and the five-comment discussion for the expected behavior. Done means the server-side commit failure is observable by the client, with a documented and tested transaction-handling approach.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.