apache / apache/incubator-seata

尝试用一个新的线程进行本地事务,协调不同分支中的此线程commit/rollback实现分布式事务

Open
#2,963 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
26k
Forks
8.8k
Avg merge
1d 8h
Merged PRs (30d)
4

Description

新起一个线程来执行数据源操作,该线程使用本地事务控制
协调者只需要控制此分支的本地事务提交或回滚即可

业务线程结束后,将此线程阻塞至超时,协调者可以通过此线程的本地事务进行提交且备份事务前数据
若某分支提交失败则可以通过事务前数据回滚

一个小提议,有不对的地方大佬们轻喷 :)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. First review the existing transaction-branch coordination design and clarify how a worker thread, local commit or rollback, timeout blocking, backup data, and recovery after branch failure should interact; done requires an agreed, implementable design with defined behavior.

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
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.