dtm

A distributed transaction framework, supports workflow, saga, tcc, xa, 2-phase message, outbox patterns, supports many languages.

BSD-3-CLAUSE License

Stars
9.8K
Committers
81

Bot releases are visible (Hide)

dtm - v1.4.1

Published by github-actions[bot] almost 3 years ago

Changelog

saga support concurrent mode and branch order
add system/transaction config of RetryInterval, TimeoutToFail
add result "ONGOING" to use no backoff retry

dtm - v1.4.0

Published by github-actions[bot] almost 3 years ago

Changelog

saga support concurrent mode and branch order
add system/transaction config of RetryInterval, TimeoutToFail
add result "ONGOING" to use no backoff retry

dtm - v1.3.1

Published by github-actions[bot] about 3 years ago

Changelog

support postgres
grpc sample run fixed

dtm - v1.3.0

Published by github-actions[bot] about 3 years ago

Changelog

support postgres

dtm - v1.2.0

Published by github-actions[bot] about 3 years ago

Add benchmark test support
Add performance report to docs
Fix some concurrent access bugs
Refactor some command line code

dtm - v1.1.0

Published by github-actions[bot] about 3 years ago

Changelog

Add Prometheus support
Support cloud services
Refactor main command line

dtm - v1.0.1

Published by github-actions[bot] about 3 years ago

Change Log

[feature]: handle duplicate request of commit/rollback for XA transaction
[feature]: add workflow for docker hub
[feature]: add workflow for binary file result
[code]: refactor XA code to share between HTTP and gRPC

dtm - v1.0.0

Published by yedf2 about 3 years ago

目前核心功能已具备,并且经过多个项目接入,接口已稳定

dtm - v0.10.3

Published by yedf2 about 3 years ago

调整了barrier的接口,支持gorm、xorm、goqu等orm
调整了grpc各个函数的返回值为BusiReply

dtm - v0.10.2

Published by yedf2 about 3 years ago

修复命令参数为dtmsvr时,无法启动的问题

dtm - v0.10.1

Published by yedf2 about 3 years ago

对子事务屏障进行了简化更新

dtm - v0.10.0

Published by yedf2 about 3 years ago

支持grpc

dtm - v0.9.1

Published by yedf2 about 3 years ago

  • 添加环境变量支持、部署支持,文档添加部署支持
  • dtmcli与gin、logrus完全解耦,并且支持拆分到单独的仓库
  • 添加事务等待结果模式
  • 添加默认DB_DRIVER为mysql
dtm - v0.9

Published by yedf2 about 3 years ago

  • 添加环境变量支持、部署支持,文档添加部署支持
  • dtmcli与gin、logrus完全解耦,并且支持拆分到单独的仓库
  • 添加事务等待结果模式
dtm - v0.8

Published by yedf2 about 3 years ago

  1. new xa interface, can adapt to other web framework

  2. introduce IsFailure, simplify xa,tcc error handling

  3. simplify xa,tcc examples, remove their gorm dependency

  4. XA的新接口可以接入其他web框架

  5. 引入IsFailure,简化XA和TCC的错误判断

  6. 简化了XA、TCC的例子,不再依赖gorm,只使用database/sql

dtm - v0.7.1

Published by yedf2 about 3 years ago

fix CronTransOnce bug
fix saga compensating bug

dtm - v0.7

Published by yedf2 about 3 years ago

  • define 3 state: SUCCESS FAILURE UNKNOWN for dtm called apis
  • refactor sub-trans barrier, return accurate result for SUCCESS FAILURE UNKNOWN
  • refactor test cases, higher test coverage
  • fix some bug
  • more docs
dtm - v0.6

Published by yedf2 over 3 years ago

修复若干bug,增加了更多的测试用例,完善了readme中的各种badge

dtm - v0.5

Published by yedf2 over 3 years ago

TCC提供新接口,子事务屏障支持

dtm -

Published by yedf2 over 3 years ago

支持saga、tcc、xa三种分布式事务模式
support saga, tcc, xa distributed transaction