apache / apache/incubator-seata
全局事务状态考虑增加一个不可重试状态
- Dominant language
- Java
- Stars
- 26k
- Forks
- 8.8k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
## Why you need it?
Is your feature request related to a problem? Please describe in details
目前,TC 驱动二阶段提交如果客户端返回二阶段提交失败并且不可重试状态(PhaseTwo_CommitFailed_Unretryable),TC 会直接结束全局事务,因为 TC 认为Unretryable是一种不可继续重试的特殊情况。
优化点:
1、全局事务状态考虑增加一个不可重试状态,TC 不主动删除全局事务,其他分支判断全局事务如果处于不可重试状态,则不处理,后续用户可在控制台人工介入处理;
2、如果还有其他更好的方案,欢迎提出你的解决方案。
## How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
## Other related information
Add any other context or screenshots about the feature request here.
Contributor guide
Research direction
Start by tracing how the TC handles PhaseTwo_CommitFailed_Unretryable during second-phase commit and how global transaction deletion and branch-state checks are performed. Define the global unretryable state and verify that TC preserves it, other branches stop processing it, and it remains available for manual handling through the console.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- distributed-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100