Skip to content
This repository has been archived by the owner on May 14, 2022. It is now read-only.

部署完之后具体如何在golang程序中使用?可以写个client文档吗? #21

Open
xlango opened this issue Dec 11, 2019 · 5 comments

Comments

@xlango
Copy link

xlango commented Dec 11, 2019

Why you need it?

Is your feature request related to a problem? Please describe in details

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.

@ChinaHDJ1
Copy link

你现在分布式事务的解决方案是什么?感觉这个库已经弃用了。很久没更新了

@xlango
Copy link
Author

xlango commented Jan 11, 2021

换成rocketmq了,还自己写了个处理分布式事务的方式,模仿java写的,你可以参考或继续完善https://github.com/xx132917/tx-go.git

@ChinaHDJ1
Copy link

@xx132917 在分布式事务失败的时候你们要怎么回滚数据呢?

@xlango
Copy link
Author

xlango commented Jan 18, 2021

@iHDJ mq方式的话是做补偿机制。同步方式是有个事务管理器,子事务在commit前给事务管理器发准备提交通知并本地阻塞,全部子事务完成,事务管理器通知全部提交。

@xlango
Copy link
Author

xlango commented Jan 18, 2021

mq是异步方式,后面是同步方式

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants