@@ -62,13 +62,14 @@ jobs: | |||
${{ runner.os }}-go- | |||
# This step only runs when the event type is a pull_request | |||
- name: Integrate Test | |||
if: ${{ github.event_name == 'pull_request' }} | |||
run: | | |||
chmod +x integrate_test.sh && [[ -n "${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n "${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]] && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}} ${{github.base_ref}} | |||
# This step only runs when the event type is a push | |||
- name: Integrate Test | |||
if: ${{ github.event_name == 'push' }} | |||
run: | | |||
chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY $GITHUB_SHA $GITHUB_BASE_REF | |||
# - name: Integrate Test | |||
# if: ${{ github.event_name == 'pull_request' }} | |||
# run: | | |||
# chmod +x integrate_test.sh && [[ -n "${{github.event.pull_request.head.repo.full_name}}" ]] && [[ -n "${{github.event.pull_request.head.sha}}" ]] && [[ -n "${{github.base_ref}}" ]] && ./integrate_test.sh ${{github.event.pull_request.head.repo.full_name}} ${{github.event.pull_request.head.sha}} ${{github.base_ref}} | |||
# | |||
# # This step only runs when the event type is a push | |||
# - name: Integrate Test | |||
# if: ${{ github.event_name == 'push' }} | |||
# run: | | |||
# chmod +x integrate_test.sh && ./integrate_test.sh $GITHUB_REPOSITORY $GITHUB_SHA $GITHUB_BASE_REF | |||
# |
@@ -5,34 +5,34 @@ | |||
### feature: | |||
- [[#1](https://github.com/seata/seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local | |||
- [[#2](https://github.com/seata/seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions | |||
- [[#122](https://github.com/seata/seata-go/pull/122)] feat: add two phase and tcc dubbo | |||
- [[#127](https://github.com/seata/seata-go/pull/127)] feat: transaction at datasource | |||
- [[#1](https://github.com/apache/incubator-seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local | |||
- [[#2](https://github.com/apache/incubator-seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions | |||
- [[#122](https://github.com/apache/incubator-seata-go/pull/122)] feat: add two phase and tcc dubbo | |||
- [[#127](https://github.com/apache/incubator-seata-go/pull/127)] feat: transaction at datasource | |||
### bugfix: | |||
- [[#5](https://github.com/seata/seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug | |||
- [[#15](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug | |||
- [[#34](https://github.com/seata/seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{} | |||
- [[#130](https://github.com/seata/seata-go/pull/130)] fix: getty session auto close bug | |||
- [[#155](https://github.com/seata/seata-go/pull/155)] bugfix: fix rollback response status bug | |||
- [[#5](https://github.com/apache/incubator-seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug | |||
- [[#15](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug | |||
- [[#34](https://github.com/apache/incubator-seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{} | |||
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] fix: getty session auto close bug | |||
- [[#155](https://github.com/apache/incubator-seata-go/pull/155)] bugfix: fix rollback response status bug | |||
### optimize: | |||
- [[#3](https://github.com/seata/seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project | |||
- [[#18](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty | |||
- [[#19](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code | |||
- [[#125](https://github.com/seata/seata-go/pull/125)] optimize named for the resource manager api | |||
- [[#165](https://github.com/seata/seata-go/pull/165)] test: add unit test and labeler workflow | |||
- [[#3](https://github.com/apache/incubator-seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project | |||
- [[#18](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty | |||
- [[#19](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code | |||
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] optimize named for the resource manager api | |||
- [[#165](https://github.com/apache/incubator-seata-go/pull/165)] test: add unit test and labeler workflow | |||
### test: | |||
- [[#9f4d8](https://github.com/seata/seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec | |||
- [[#9f4d8](https://github.com/apache/incubator-seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec | |||
### doc: | |||
- [[#0](https://github.com/seata/seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world | |||
- [[#146](https://github.com/seata/seata-go/pull/146)] doc: add license | |||
- [[#153](https://github.com/seata/seata-go/pull/153)] docs: add readme ,contributing and pr template doc | |||
- [[#167](https://github.com/seata/seata-go/pull/167)] fix typo in reademe | |||
- [[#0](https://github.com/apache/incubator-seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world | |||
- [[#146](https://github.com/apache/incubator-seata-go/pull/146)] doc: add license | |||
- [[#153](https://github.com/apache/incubator-seata-go/pull/153)] docs: add readme ,contributing and pr template doc | |||
- [[#167](https://github.com/apache/incubator-seata-go/pull/167)] fix typo in reademe |
@@ -14,7 +14,7 @@ It is warmly welcomed if you have interest to hack on seata-go. First, we encour | |||
## Reporting general issues | |||
To be honest, we regard every user of seata-go as a very kind contributor. After experiencing seata-go, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/seata/seata-go/issues/new/choose). | |||
To be honest, we regard every user of seata-go as a very kind contributor. After experiencing seata-go, you may have some feedback for the project. Then feel free to open an issue via [NEW ISSUE](https://github.com/apache/incubator-seata-go/issues/new/choose). | |||
Since we collaborate project seata-go in a distributed way, we appreciate **WELL-WRITTEN**, **DETAILED**, **EXPLICIT** issue reports. To make the communication more efficient, we wish everyone could search if your issue is an existing one in the searching list. If you find it existing, please add your details in comments under the existing issue instead of opening a brand new one. | |||
@@ -65,14 +65,14 @@ Since you are ready to improve seata-go with a PR, we suggest you could take a l | |||
To put forward a PR, we assume you have registered a GitHub ID. Then you could finish the preparation in the following steps: | |||
1. **FORK** seata-go to your repository. To make this work, you just need to click the button Fork in right-left of [seata/seata](https://github.com/seata/seata-go) main page. Then you will end up with your repository in `https://github.com/<your-username>/seata-go`, in which `your-username` is your GitHub username. | |||
1. **FORK** seata-go to your repository. To make this work, you just need to click the button Fork in right-left of [seata/seata](https://github.com/apache/incubator-seata-go) main page. Then you will end up with your repository in `https://github.com/<your-username>/seata-go`, in which `your-username` is your GitHub username. | |||
1. **CLONE** your own repository to develop locally. Use `git clone git@github.com:<your-username>/seata-go.git` to clone repository to your local machine. Then you can create new branches to finish the change you wish to make. | |||
1. **Set Remote** upstream to be `git@github.com:seata/seata-go.git` using the following two commands: | |||
1. **Set Remote** upstream to be `git@github.com:apache/seata-go.git` using the following two commands: | |||
```bash | |||
git remote add upstream git@github.com:seata/seata-go.git | |||
git remote add upstream git@github.com:apache/seata-go.git | |||
git remote set-url --push upstream no-pushing | |||
``` | |||
@@ -82,7 +82,7 @@ With this remote setting, you can check your git remote configuration like this: | |||
$ git remote -v | |||
origin git@github.com:<your-username>/seata-go.git (fetch) | |||
origin git@github.com:<your-username>/seata-go.git (push) | |||
upstream git@github.com:seata/seata-go.git (fetch) | |||
upstream git@github.com:apache/seata-go.git (fetch) | |||
upstream no-pushing (push) | |||
``` | |||
@@ -90,7 +90,7 @@ Adding this, we can easily synchronize local branches with upstream branches. | |||
### Branch Definition | |||
Right now we assume every contribution via pull request is for [branch develop](https://github.com/seata/seata-go/tree/develop) in seata-go. Before contributing, be aware of branch definition would help a lot. | |||
Right now we assume every contribution via pull request is for [branch develop](https://github.com/apache/incubator-seata-go/tree/master) in seata-go. Before contributing, be aware of branch definition would help a lot. | |||
As a contributor, keep in mind again that every contribution via pull request is for branch develop. While in project seata-go, there are several other branches, we generally call them release branches(such as 0.6.0,0.6.1), feature branches, hotfix branches and master branch. | |||
@@ -14,7 +14,7 @@ | |||
## 报告一般问题 | |||
老实说我们把每一个 seata-go 用户都视为非常善良的贡献者。在体验了 seata-go 之后,您可能会对项目有一些反馈。然后随时通过 [NEW ISSUE](https://github.com/seata/seata-go/issues/new/choose)打开一个问题。 | |||
老实说我们把每一个 seata-go 用户都视为非常善良的贡献者。在体验了 seata-go 之后,您可能会对项目有一些反馈。然后随时通过 [NEW ISSUE](https://github.com/apache/incubator-seata-go/issues/new/choose)打开一个问题。 | |||
因为我们在一个分布式的方式合作项目 seata-go,我们欣赏写得很好的,详细的,准确的问题报告。为了让沟通更高效,我们希望每个人都可以搜索您的问题是否在搜索列表中。如果您发现它存在,请在现有问题下的评论中添加您的详细信息,而不是打开一个全新的问题。 | |||
@@ -65,14 +65,14 @@ | |||
为了提出 PR,我们假设你已经注册了一个 GitHub ID。然后您可以通过以下步骤完成准备工作: | |||
1. **FORK** seata-go 到您的存储库。要完成这项工作,您只需单击 [seata/seata-go](https://github.com/seata/seata-go) 主页右侧的 Fork 按钮。然后你将在 中得到你的存储库`https://github.com/<your-username>/seata-go`,其中 your-username 是你的 GitHub 用户名。 | |||
1. **FORK** seata-go 到您的存储库。要完成这项工作,您只需单击 [apache/seata-go](https://github.com/apache/incubator-seata-go) 主页右侧的 Fork 按钮。然后你将在 中得到你的存储库`https://github.com/<your-username>/seata-go`,其中 your-username 是你的 GitHub 用户名。 | |||
2. **克隆** 您自己的存储库以在本地开发. 用于 `git clone git@github.com:<your-username>/seata-go.git` 将存储库克隆到本地计算机。 然后您可以创建新分支来完成您希望进行的更改。 | |||
3. **设置远程** 将上游设置为 `git@github.com:seata/seata-go.git` 使用以下两个命令: | |||
3. **设置远程** 将上游设置为 `git@github.com:apache/seata-go.git` 使用以下两个命令: | |||
```bash | |||
git remote add upstream git@github.com:seata/seata-go.git | |||
git remote add upstream git@github.com:apache/seata-go.git | |||
git remote set-url --push upstream no-pushing | |||
``` | |||
@@ -82,7 +82,7 @@ git remote set-url --push upstream no-pushing | |||
$ git remote -v | |||
origin git@github.com:<your-username>/seata-go.git (fetch) | |||
origin git@github.com:<your-username>/seata-go.git (push) | |||
upstream git@github.com:seata/seata-go.git (fetch) | |||
upstream git@github.com:apache/seata-go.git (fetch) | |||
upstream no-pushing (push) | |||
``` | |||
@@ -90,7 +90,7 @@ upstream no-pushing (push) | |||
### 分支定义 | |||
现在我们假设通过拉取请求的每个贡献都是针对 seata-go 中的 [开发分支](https://github.com/seata/seata-go/tree/master) 。在贡献之前,请注意分支定义会很有帮助。 | |||
现在我们假设通过拉取请求的每个贡献都是针对 seata-go 中的 [开发分支](https://github.com/apache/incubator-seata-go/tree/master) 。在贡献之前,请注意分支定义会很有帮助。 | |||
作为贡献者,请再次记住,通过拉取请求的每个贡献都是针对分支开发的。而在 seata-go 项目中,还有其他几个分支,我们一般称它们为 release 分支(如0.6.0、0.6.1)、feature 分支、hotfix 分支和 master 分支。 | |||
@@ -43,7 +43,7 @@ The principle of seata-go is consistent with that of Seata-java, which is compos | |||
## How to run? | |||
if you want to know how to use and integrate seata-go, please refer to [seata/seata-go-samples](https://github.com/seata/seata-go-samples) | |||
if you want to know how to use and integrate seata-go, please refer to [apache/seata-go-samples](https://github.com/apache/incubator-seata-go-samples) | |||
## How to join us? | |||
@@ -45,7 +45,7 @@ Seata-go 的原理和 Seata-java 保持一致,都是由 TM、RM 和 TC 组成 | |||
## 如何运行项目? | |||
关于如何使用和集成 seata-go 的示例,可以参考 [seata/seata-go-samples](https://github.com/seata/seata-go-samples) | |||
关于如何使用和集成 seata-go 的示例,可以参考 [apache/seata-go-samples](https://github.com/apache/incubator-seata-go-samples) | |||
## 如何给Seata-go贡献代码? | |||
@@ -30,37 +30,37 @@ | |||
### feature: | |||
- [[#1](https://github.com/seata/seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local | |||
- [[#2](https://github.com/seata/seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions | |||
- [[#122](https://github.com/seata/seata-go/pull/122)] feat: add two phase and tcc dubbo | |||
- [[#127](https://github.com/seata/seata-go/pull/127)] feat: transaction at datasource | |||
- [[#1](https://github.com/apache/incubator-seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] initialize project structure and support tcc local | |||
- [[#2](https://github.com/apache/incubator-seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] add github Actions | |||
- [[#122](https://github.com/apache/incubator-seata-go/pull/122)] feat: add two phase and tcc dubbo | |||
- [[#127](https://github.com/apache/incubator-seata-go/pull/127)] feat: transaction at datasource | |||
### bugfix: | |||
- [[#5](https://github.com/seata/seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug | |||
- [[#15](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug | |||
- [[#34](https://github.com/seata/seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{} | |||
- [[#130](https://github.com/seata/seata-go/pull/130)] fix: getty session auto close bug | |||
- [[#155](https://github.com/seata/seata-go/pull/155)] bugfix: fix rollback response status bug | |||
- [[#5](https://github.com/apache/incubator-seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] fix cli bug | |||
- [[#15](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] fix branch commit bug | |||
- [[#34](https://github.com/apache/incubator-seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] style:change bool to struct{} | |||
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] fix: getty session auto close bug | |||
- [[#155](https://github.com/apache/incubator-seata-go/pull/155)] bugfix: fix rollback response status bug | |||
### optimize: | |||
- [[#3](https://github.com/seata/seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project | |||
- [[#18](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty | |||
- [[#19](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code | |||
- [[#125](https://github.com/seata/seata-go/pull/125)] optimize named for the resource manager api | |||
- [[#165](https://github.com/seata/seata-go/pull/165)] test: add unit test and labeler workflow | |||
- [[#3](https://github.com/apache/incubator-seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] adjust the structure of the project | |||
- [[#18](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] remove goetty | |||
- [[#19](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] optimize codec code | |||
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] optimize named for the resource manager api | |||
- [[#165](https://github.com/apache/incubator-seata-go/pull/165)] test: add unit test and labeler workflow | |||
### test: | |||
- [[#9f4d8](https://github.com/seata/seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec | |||
- [[#9f4d8](https://github.com/apache/incubator-seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] add unit test for codec | |||
### doc: | |||
- [[#0](https://github.com/seata/seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world | |||
- [[#146](https://github.com/seata/seata-go/pull/146)] doc: add license | |||
- [[#153](https://github.com/seata/seata-go/pull/153)] docs: add readme ,contributing and pr template doc | |||
- [[#167](https://github.com/seata/seata-go/pull/167)] fix typo in reademe | |||
- [[#0](https://github.com/apache/incubator-seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world | |||
- [[#146](https://github.com/apache/incubator-seata-go/pull/146)] doc: add license | |||
- [[#153](https://github.com/apache/incubator-seata-go/pull/153)] docs: add readme ,contributing and pr template doc | |||
- [[#167](https://github.com/apache/incubator-seata-go/pull/167)] fix typo in reademe | |||
### contributors: | |||
@@ -30,37 +30,37 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
### feature: | |||
- [[#1](https://github.com/seata/seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] 项目初始化,并且支持TCC本地模式 | |||
- [[#2](https://github.com/seata/seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] 添加 github 工作流 | |||
- [[#122](https://github.com/seata/seata-go/pull/122)] 添加二阶段提交和TCC dubbo调用 | |||
- [[#127](https://github.com/seata/seata-go/pull/127)] 添加事务数据源代理 | |||
- [[#1](https://github.com/apache/incubator-seata-go/commit/06b9969bb3fd24071adc271dc543c3eb684070c9)] 项目初始化,并且支持TCC本地模式 | |||
- [[#2](https://github.com/apache/incubator-seata-go/commit/80913fa73e38fd3c159dcd28804344b9a87f718c)] 添加 github 工作流 | |||
- [[#122](https://github.com/apache/incubator-seata-go/pull/122)] 添加二阶段提交和TCC dubbo调用 | |||
- [[#127](https://github.com/apache/incubator-seata-go/pull/127)] 添加事务数据源代理 | |||
### bugfix: | |||
- [[#5](https://github.com/seata/seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] 修复cli的问题 | |||
- [[#15](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] 修复提交分支事务的问题 | |||
- [[#34](https://github.com/seata/seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] 将bool改为struct{} | |||
- [[#130](https://github.com/seata/seata-go/pull/130)] 修复getty 自动关闭session的问题 | |||
- [[#155](https://github.com/seata/seata-go/pull/155)] 修复分支事务回滚时返回值status的问题 | |||
- [[#5](https://github.com/apache/incubator-seata-go/commit/48f1b6bf6c8890d649ceac3d048f61695dce2f7a)] 修复cli的问题 | |||
- [[#15](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] 修复提交分支事务的问题 | |||
- [[#34](https://github.com/apache/incubator-seata-go/commit/846a3b336194f9d188f07bf6af65f617b0baf489)] 将bool改为struct{} | |||
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] 修复getty 自动关闭session的问题 | |||
- [[#155](https://github.com/apache/incubator-seata-go/pull/155)] 修复分支事务回滚时返回值status的问题 | |||
### optimize: | |||
- [[#3](https://github.com/seata/seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] 调整项目结构 | |||
- [[#18](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] 移除 goetty 包依赖 | |||
- [[#19](https://github.com/seata/seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] 重构 codec 的代码 | |||
- [[#125](https://github.com/seata/seata-go/pull/125)] 重名 rm api 的接口 | |||
- [[#165](https://github.com/seata/seata-go/pull/165)] 完善 github 工作流 | |||
- [[#3](https://github.com/apache/incubator-seata-go/commit/65c2e1ed676a2306eb10f7d43e3bf5b37271ee3e)] 调整项目结构 | |||
- [[#18](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] 移除 goetty 包依赖 | |||
- [[#19](https://github.com/apache/incubator-seata-go/commit/de615531e9d17af66067c54452ee5bce2d670008)] 重构 codec 的代码 | |||
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] 重名 rm api 的接口 | |||
- [[#165](https://github.com/apache/incubator-seata-go/pull/165)] 完善 github 工作流 | |||
### test: | |||
- [[#9f4d8](https://github.com/seata/seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] 添加codec的单测 | |||
- [[#9f4d8](https://github.com/apache/incubator-seata-go/commit/9f4d8cc0b6f1e26860cded5ab05b504ad6a6d6ff)] 添加codec的单测 | |||
### doc: | |||
- [[#0](https://github.com/seata/seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world | |||
- [[#146](https://github.com/seata/seata-go/pull/146)] 添加 license 文件 | |||
- [[#153](https://github.com/seata/seata-go/pull/153)] 添加 readme 、contributing 和 pr template 文件 | |||
- [[#167](https://github.com/seata/seata-go/pull/167)] 完善 reamdme 文件格式 | |||
- [[#0](https://github.com/apache/incubator-seata-go/commit/fcda132629032321a7cc733a7a2ed02e05c2151b)] hello world | |||
- [[#146](https://github.com/apache/incubator-seata-go/pull/146)] 添加 license 文件 | |||
- [[#153](https://github.com/apache/incubator-seata-go/pull/153)] 添加 readme 、contributing 和 pr template 文件 | |||
- [[#167](https://github.com/apache/incubator-seata-go/pull/167)] 完善 reamdme 文件格式 | |||
### contributors: | |||
@@ -29,101 +29,101 @@ | |||
The version is updated as follows: | |||
### feature: | |||
- [[#190](https://github.com/seata/seata-go/pull/190)] add TCC branch report | |||
- [[#158](https://github.com/seata/seata-go/pull/158)] TCC mode supports grpc call | |||
- [[#213](https://github.com/seata/seata-go/pull/213)] support data source proxy function | |||
- [[#240](https://github.com/seata/seata-go/pull/240)] add undo log manager delete | |||
- [[#243](https://github.com/seata/seata-go/pull/243)] add update sql parser | |||
- [[#191](https://github.com/seata/seata-go/pull/191)] add fence for TCC, and add fence sample in TCC local mode | |||
- [[#264](https://github.com/seata/seata-go/pull/264)] add update sql parser and remove tidb parser | |||
- [[#280](https://github.com/seata/seata-go/pull/280)] TCC supports http calling | |||
- [[#245](https://github.com/seata/seata-go/pull/245)] support hasLogTable logic | |||
- [[#288](https://github.com/seata/seata-go/pull/288)] add MySQL update SQL undo log builder | |||
- [[#296](https://github.com/seata/seata-go/pull/296)] add MySQL delete SQL undo log builder | |||
- [[#303](https://github.com/seata/seata-go/pull/303)] add sync worker | |||
- [[#289](https://github.com/seata/seata-go/pull/289)] add MySQL update SQL after undo log builder | |||
- [[#294](https://github.com/seata/seata-go/pull/294)] add MySQL table meta query | |||
- [[#309](https://github.com/seata/seata-go/pull/309)] init compressor type | |||
- [[#301](https://github.com/seata/seata-go/pull/301)] add MySQL multi SQL undo log builder | |||
- [[#321](https://github.com/seata/seata-go/pull/321)] add deflate compress | |||
- [[#324](https://github.com/seata/seata-go/pull/324)] add LZ4 compressor | |||
- [[#327](https://github.com/seata/seata-go/pull/327)] add zstd compressor | |||
- [[#322](https://github.com/seata/seata-go/pull/322)] add gzip compressor | |||
- [[#307](https://github.com/seata/seata-go/pull/307)] add flush undo log | |||
- [[#329](https://github.com/seata/seata-go/pull/329)] add zip compressor | |||
- [[#325](https://github.com/seata/seata-go/pull/325)] add MySQL multi update SQL undo log builder | |||
- [[#330](https://github.com/seata/seata-go/pull/330)] add MySQL multi delete SQL undo log builder | |||
- [[#319](https://github.com/seata/seata-go/pull/319)] add select for update | |||
- [[#320](https://github.com/seata/seata-go/pull/320)] add undo logic | |||
- [[#337](https://github.com/seata/seata-go/pull/337)] add insert undo log | |||
- [[#355](https://github.com/seata/seata-go/pull/355)] support judging the number of undo log storage fields according to the configuration | |||
- [[#365](https://github.com/seata/seata-go/pull/365)] do dirty data check before rolling back AT | |||
- [[#190](https://github.com/apache/incubator-seata-go/pull/190)] add TCC branch report | |||
- [[#158](https://github.com/apache/incubator-seata-go/pull/158)] TCC mode supports grpc call | |||
- [[#213](https://github.com/apache/incubator-seata-go/pull/213)] support data source proxy function | |||
- [[#240](https://github.com/apache/incubator-seata-go/pull/240)] add undo log manager delete | |||
- [[#243](https://github.com/apache/incubator-seata-go/pull/243)] add update sql parser | |||
- [[#191](https://github.com/apache/incubator-seata-go/pull/191)] add fence for TCC, and add fence sample in TCC local mode | |||
- [[#264](https://github.com/apache/incubator-seata-go/pull/264)] add update sql parser and remove tidb parser | |||
- [[#280](https://github.com/apache/incubator-seata-go/pull/280)] TCC supports http calling | |||
- [[#245](https://github.com/apache/incubator-seata-go/pull/245)] support hasLogTable logic | |||
- [[#288](https://github.com/apache/incubator-seata-go/pull/288)] add MySQL update SQL undo log builder | |||
- [[#296](https://github.com/apache/incubator-seata-go/pull/296)] add MySQL delete SQL undo log builder | |||
- [[#303](https://github.com/apache/incubator-seata-go/pull/303)] add sync worker | |||
- [[#289](https://github.com/apache/incubator-seata-go/pull/289)] add MySQL update SQL after undo log builder | |||
- [[#294](https://github.com/apache/incubator-seata-go/pull/294)] add MySQL table meta query | |||
- [[#309](https://github.com/apache/incubator-seata-go/pull/309)] init compressor type | |||
- [[#301](https://github.com/apache/incubator-seata-go/pull/301)] add MySQL multi SQL undo log builder | |||
- [[#321](https://github.com/apache/incubator-seata-go/pull/321)] add deflate compress | |||
- [[#324](https://github.com/apache/incubator-seata-go/pull/324)] add LZ4 compressor | |||
- [[#327](https://github.com/apache/incubator-seata-go/pull/327)] add zstd compressor | |||
- [[#322](https://github.com/apache/incubator-seata-go/pull/322)] add gzip compressor | |||
- [[#307](https://github.com/apache/incubator-seata-go/pull/307)] add flush undo log | |||
- [[#329](https://github.com/apache/incubator-seata-go/pull/329)] add zip compressor | |||
- [[#325](https://github.com/apache/incubator-seata-go/pull/325)] add MySQL multi update SQL undo log builder | |||
- [[#330](https://github.com/apache/incubator-seata-go/pull/330)] add MySQL multi delete SQL undo log builder | |||
- [[#319](https://github.com/apache/incubator-seata-go/pull/319)] add select for update | |||
- [[#320](https://github.com/apache/incubator-seata-go/pull/320)] add undo logic | |||
- [[#337](https://github.com/apache/incubator-seata-go/pull/337)] add insert undo log | |||
- [[#355](https://github.com/apache/incubator-seata-go/pull/355)] support judging the number of undo log storage fields according to the configuration | |||
- [[#365](https://github.com/apache/incubator-seata-go/pull/365)] do dirty data check before rolling back AT | |||
### bugfix: | |||
- [[#176](https://github.com/seata/seata-go/pull/176)] fix unit test bug of message | |||
- [[#237](https://github.com/seata/seata-go/pull/237)] fix the bug of registering resources when executing the OpenConnector function | |||
- [[#230](https://github.com/seata/seata-go/pull/230)] fix the bug of remote asynchronous call infinite loop | |||
- [[#258](https://github.com/seata/seata-go/pull/258)] fix global transation time out bug | |||
- [[#263](https://github.com/seata/seata-go/pull/263)] fix mock bug | |||
- [[#326](https://github.com/seata/seata-go/pull/326)] fix fanout test data race | |||
- [[#350](https://github.com/seata/seata-go/pull/350)] fix panic bug | |||
- [[#359](https://github.com/seata/seata-go/pull/359)] fix insert undo log bug | |||
- [[#368](https://github.com/seata/seata-go/pull/368)] fix AT rollback sample bug | |||
- [[#363](https://github.com/seata/seata-go/pull/363)] fix meta data bug | |||
- [[#365](https://github.com/seata/seata-go/pull/365)] fix decode undo log bug | |||
- [[#176](https://github.com/apache/incubator-seata-go/pull/176)] fix unit test bug of message | |||
- [[#237](https://github.com/apache/incubator-seata-go/pull/237)] fix the bug of registering resources when executing the OpenConnector function | |||
- [[#230](https://github.com/apache/incubator-seata-go/pull/230)] fix the bug of remote asynchronous call infinite loop | |||
- [[#258](https://github.com/apache/incubator-seata-go/pull/258)] fix global transation time out bug | |||
- [[#263](https://github.com/apache/incubator-seata-go/pull/263)] fix mock bug | |||
- [[#326](https://github.com/apache/incubator-seata-go/pull/326)] fix fanout test data race | |||
- [[#350](https://github.com/apache/incubator-seata-go/pull/350)] fix panic bug | |||
- [[#359](https://github.com/apache/incubator-seata-go/pull/359)] fix insert undo log bug | |||
- [[#368](https://github.com/apache/incubator-seata-go/pull/368)] fix AT rollback sample bug | |||
- [[#363](https://github.com/apache/incubator-seata-go/pull/363)] fix meta data bug | |||
- [[#365](https://github.com/apache/incubator-seata-go/pull/365)] fix decode undo log bug | |||
### optimize: | |||
- [[#187](https://github.com/seata/seata-go/pull/187)] optimize way of init seata-go | |||
- [[#196](https://github.com/seata/seata-go/pull/196)] optimize remoting method's params | |||
- [[#200](https://github.com/seata/seata-go/pull/200)] add TCC grpc sample and optimize register resource and branch register | |||
- [[#208](https://github.com/seata/seata-go/pull/208)] optimize remove unnecessary codes | |||
- [[#202](https://github.com/seata/seata-go/pull/202)] optimize workflow, add condecov and issue, stale robot | |||
- [[#215](https://github.com/seata/seata-go/pull/215)] optimize the time parameter to improve readability | |||
- [[#179](https://github.com/seata/seata-go/pull/179)] support instance BusinessActionContext outside the TCC try method | |||
- [[#198](https://github.com/seata/seata-go/pull/198)] optimize function's parameters into one struct-rm_api.go | |||
- [[#235](https://github.com/seata/seata-go/pull/235)] adjust MessageType enumeration value naming convention | |||
- [[#238](https://github.com/seata/seata-go/pull/238)] add some todo comment, add a undo hook sample | |||
- [[#229](https://github.com/seata/seata-go/pull/229)] add unit testing for common | |||
- [[#261](https://github.com/seata/seata-go/pull/261)] optimize nested loop retries | |||
- [[#284](https://github.com/seata/seata-go/pull/284)] optimize retry logic | |||
- [[#286](https://github.com/seata/seata-go/pull/286)] separate the initialization logic of tm and rm | |||
- [[#287](https://github.com/seata/seata-go/pull/287)] fefactor seata conn logic | |||
- [[#281](https://github.com/seata/seata-go/pull/281)] optimize global transaction usage | |||
- [[#295](https://github.com/seata/seata-go/pull/295)] fefactor seata conn logic | |||
- [[#302](https://github.com/seata/seata-go/pull/302)] update dubbo-go version | |||
- [[#336](https://github.com/seata/seata-go/pull/336)] optimize at overall process | |||
- [[#346](https://github.com/seata/seata-go/pull/346)] optimize AT commit transaction process | |||
- [[#352](https://github.com/seata/seata-go/pull/352)] optimize get meta data | |||
- [[#354](https://github.com/seata/seata-go/pull/354)] optimize AT commit transaction process | |||
- [[#353](https://github.com/seata/seata-go/pull/353)] modify some receiver name | |||
- [[#356](https://github.com/seata/seata-go/pull/356)] optimize AT rollback transaction process | |||
- [[#187](https://github.com/apache/incubator-seata-go/pull/187)] optimize way of init seata-go | |||
- [[#196](https://github.com/apache/incubator-seata-go/pull/196)] optimize remoting method's params | |||
- [[#200](https://github.com/apache/incubator-seata-go/pull/200)] add TCC grpc sample and optimize register resource and branch register | |||
- [[#208](https://github.com/apache/incubator-seata-go/pull/208)] optimize remove unnecessary codes | |||
- [[#202](https://github.com/apache/incubator-seata-go/pull/202)] optimize workflow, add condecov and issue, stale robot | |||
- [[#215](https://github.com/apache/incubator-seata-go/pull/215)] optimize the time parameter to improve readability | |||
- [[#179](https://github.com/apache/incubator-seata-go/pull/179)] support instance BusinessActionContext outside the TCC try method | |||
- [[#198](https://github.com/apache/incubator-seata-go/pull/198)] optimize function's parameters into one struct-rm_api.go | |||
- [[#235](https://github.com/apache/incubator-seata-go/pull/235)] adjust MessageType enumeration value naming convention | |||
- [[#238](https://github.com/apache/incubator-seata-go/pull/238)] add some todo comment, add a undo hook sample | |||
- [[#229](https://github.com/apache/incubator-seata-go/pull/229)] add unit testing for common | |||
- [[#261](https://github.com/apache/incubator-seata-go/pull/261)] optimize nested loop retries | |||
- [[#284](https://github.com/apache/incubator-seata-go/pull/284)] optimize retry logic | |||
- [[#286](https://github.com/apache/incubator-seata-go/pull/286)] separate the initialization logic of tm and rm | |||
- [[#287](https://github.com/apache/incubator-seata-go/pull/287)] fefactor seata conn logic | |||
- [[#281](https://github.com/apache/incubator-seata-go/pull/281)] optimize global transaction usage | |||
- [[#295](https://github.com/apache/incubator-seata-go/pull/295)] fefactor seata conn logic | |||
- [[#302](https://github.com/apache/incubator-seata-go/pull/302)] update dubbo-go version | |||
- [[#336](https://github.com/apache/incubator-seata-go/pull/336)] optimize at overall process | |||
- [[#346](https://github.com/apache/incubator-seata-go/pull/346)] optimize AT commit transaction process | |||
- [[#352](https://github.com/apache/incubator-seata-go/pull/352)] optimize get meta data | |||
- [[#354](https://github.com/apache/incubator-seata-go/pull/354)] optimize AT commit transaction process | |||
- [[#353](https://github.com/apache/incubator-seata-go/pull/353)] modify some receiver name | |||
- [[#356](https://github.com/apache/incubator-seata-go/pull/356)] optimize AT rollback transaction process | |||
### test: | |||
- [[#154](https://github.com/seata/seata-go/pull/154)] add unit test for message | |||
- [[#163](https://github.com/seata/seata-go/pull/163)] add unit test for tm | |||
- [[#203](https://github.com/seata/seata-go/pull/203)] add unit test for getty | |||
- [[#204](https://github.com/seata/seata-go/pull/204)] add unit test for dubbo transtation filter | |||
- [[#210](https://github.com/seata/seata-go/pull/210)] add unit test for Tcc branch report | |||
- [[#192](https://github.com/seata/seata-go/pull/192)] add unit test for rm | |||
- [[#229](https://github.com/seata/seata-go/pull/229)] add unit test for common | |||
- [[#299](https://github.com/seata/seata-go/pull/299)] add unit test for SQL Parser | |||
- [[#332](https://github.com/seata/seata-go/pull/332)] add unit test for multi delete undo log | |||
- [[#358](https://github.com/seata/seata-go/pull/358)] add AT rollback sample | |||
- [[#154](https://github.com/apache/incubator-seata-go/pull/154)] add unit test for message | |||
- [[#163](https://github.com/apache/incubator-seata-go/pull/163)] add unit test for tm | |||
- [[#203](https://github.com/apache/incubator-seata-go/pull/203)] add unit test for getty | |||
- [[#204](https://github.com/apache/incubator-seata-go/pull/204)] add unit test for dubbo transtation filter | |||
- [[#210](https://github.com/apache/incubator-seata-go/pull/210)] add unit test for Tcc branch report | |||
- [[#192](https://github.com/apache/incubator-seata-go/pull/192)] add unit test for rm | |||
- [[#229](https://github.com/apache/incubator-seata-go/pull/229)] add unit test for common | |||
- [[#299](https://github.com/apache/incubator-seata-go/pull/299)] add unit test for SQL Parser | |||
- [[#332](https://github.com/apache/incubator-seata-go/pull/332)] add unit test for multi delete undo log | |||
- [[#358](https://github.com/apache/incubator-seata-go/pull/358)] add AT rollback sample | |||
### doc: | |||
- [[#202](https://github.com/seata/seata-go/pull/202)] optimize workflow, add condecov and issue | |||
- [[#254](https://github.com/seata/seata-go/pull/254)] add license automatic check script | |||
- [[#305](https://github.com/seata/seata-go/pull/305)] config github action not to automatically close pr or issue | |||
- [[#202](https://github.com/apache/incubator-seata-go/pull/202)] optimize workflow, add condecov and issue | |||
- [[#254](https://github.com/apache/incubator-seata-go/pull/254)] add license automatic check script | |||
- [[#305](https://github.com/apache/incubator-seata-go/pull/305)] config github action not to automatically close pr or issue | |||
### contributors: | |||
@@ -136,18 +136,18 @@ Thanks to these contributors for their code commits. Please report an unintended | |||
- [liiibpm](https://github.com/liiibpm) | |||
- [elrond-g](https://github.com/elrond-g) | |||
- [wang1309](https://github.com/wang1309) | |||
- [iSuperCoder](https://github.com/seata/seata-go/commits?author=iSuperCoder) | |||
- [a631807682](https://github.com/seata/seata-go/commits?author=a631807682) | |||
- [betterwinsone](https://github.com/seata/seata-go/commits?author=betterwinsone) | |||
- [jasondeng1997](https://github.com/seata/seata-go/commits?author=jasondeng1997) | |||
- [chuntaojun](https://github.com/seata/seata-go/commits?author=chuntaojun) | |||
- [complone](https://github.com/seata/seata-go/commits?author=complone) | |||
- [miaoxueyu](https://github.com/seata/seata-go/commits?author=miaoxueyu) | |||
- [PangXing](https://github.com/seata/seata-go/commits?author=PangXing) | |||
- [georgehao](https://github.com/seata/seata-go/commits?author=georgehao) | |||
- [baerwang](https://github.com/seata/seata-go/commits?author=baerwang) | |||
- [raspberry-hu](https://github.com/seata/seata-go/commits?author=raspberry-hu) | |||
- [WyattJia](https://github.com/seata/seata-go/commits?author=WyattJia) | |||
- [iSuperCoder](https://github.com/apache/incubator-seata-go/commits?author=iSuperCoder) | |||
- [a631807682](https://github.com/apache/incubator-seata-go/commits?author=a631807682) | |||
- [betterwinsone](https://github.com/apache/incubator-seata-go/commits?author=betterwinsone) | |||
- [jasondeng1997](https://github.com/apache/incubator-seata-go/commits?author=jasondeng1997) | |||
- [chuntaojun](https://github.com/apache/incubator-seata-go/commits?author=chuntaojun) | |||
- [complone](https://github.com/apache/incubator-seata-go/commits?author=complone) | |||
- [miaoxueyu](https://github.com/apache/incubator-seata-go/commits?author=miaoxueyu) | |||
- [PangXing](https://github.com/apache/incubator-seata-go/commits?author=PangXing) | |||
- [georgehao](https://github.com/apache/incubator-seata-go/commits?author=georgehao) | |||
- [baerwang](https://github.com/apache/incubator-seata-go/commits?author=baerwang) | |||
- [raspberry-hu](https://github.com/apache/incubator-seata-go/commits?author=raspberry-hu) | |||
- [WyattJia](https://github.com/apache/incubator-seata-go/commits?author=WyattJia) | |||
- [Code-Fight](https://github.com/Code-Fight) | |||
- [betterwinsone](https://github.com/betterwinsonet) | |||
@@ -30,97 +30,97 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
### feature: | |||
- [[#190](https://github.com/seata/seata-go/pull/190)] 添加分支状态上报接口 | |||
- [[#158](https://github.com/seata/seata-go/pull/158)] TCC 模式支持 grapc 调用 | |||
- [[#213](https://github.com/seata/seata-go/pull/213)] 支持数据源代理功能 | |||
- [[#240](https://github.com/seata/seata-go/pull/240)] 删除日志管理功能 | |||
- [[#243](https://github.com/seata/seata-go/pull/243)] 添加 Update SQL 语法解析器 | |||
- [[#191](https://github.com/seata/seata-go/pull/191)] 支持 TCC 防悬挂、空回滚处理功能 | |||
- [[#264](https://github.com/seata/seata-go/pull/264)] 添加更新sql解析器并删除 tidb 解析器 | |||
- [[#280](https://github.com/seata/seata-go/pull/280)] TCC 支持 http 调用 | |||
- [[#245](https://github.com/seata/seata-go/pull/245)] 支持 hasLogTable 判断逻辑 | |||
- [[#288](https://github.com/seata/seata-go/pull/288)] 添加 update SQL 的 undo log 生成功能 | |||
- [[#296](https://github.com/seata/seata-go/pull/296)] 添加 delete SQL 的 undo log 生成功能 | |||
- [[#303](https://github.com/seata/seata-go/pull/303)] 添加异步处理器 | |||
- [[#289](https://github.com/seata/seata-go/pull/289)] 撤消日志生成器后添加 MySQL 更新 | |||
- [[#294](https://github.com/seata/seata-go/pull/294)] 添加 MySQL 元数据查询 | |||
- [[#309](https://github.com/seata/seata-go/pull/309)] 初始化压缩类型 | |||
- [[#301](https://github.com/seata/seata-go/pull/301)] 添加 Multi SQL 的 undo log 生成功能 | |||
- [[#321](https://github.com/seata/seata-go/pull/321)] 添加 deflate 压缩功能 | |||
- [[#324](https://github.com/seata/seata-go/pull/324)] 添加 lz4 压缩功能 | |||
- [[#327](https://github.com/seata/seata-go/pull/327)] 添加 zstd 压缩功能 | |||
- [[#322](https://github.com/seata/seata-go/pull/322)] 添加 gzip 压缩功能 | |||
- [[#307](https://github.com/seata/seata-go/pull/307)] 添加 flush undo log 功能 | |||
- [[#329](https://github.com/seata/seata-go/pull/329)] 添加 zip 压缩功能 | |||
- [[#325](https://github.com/seata/seata-go/pull/325)] 添加 Multi update SQL 的 undo log 生成功能 | |||
- [[#330](https://github.com/seata/seata-go/pull/330)] 添加 Multi delete SQL 的 undo log 生成功能 | |||
- [[#319](https://github.com/seata/seata-go/pull/319)] 添加选择更新执行器 | |||
- [[#320](https://github.com/seata/seata-go/pull/320)] 添加 undo 逻辑 | |||
- [[#337](https://github.com/seata/seata-go/pull/337)] 添加插入 undo log 逻辑 | |||
- [[#355](https://github.com/seata/seata-go/pull/355)] 支持根据配置判断 undo log 保存字段个数 | |||
- [[#365](https://github.com/seata/seata-go/pull/365)] 回滚 AT 之前做脏数据校验 | |||
- [[#190](https://github.com/apache/incubator-seata-go/pull/190)] 添加分支状态上报接口 | |||
- [[#158](https://github.com/apache/incubator-seata-go/pull/158)] TCC 模式支持 grapc 调用 | |||
- [[#213](https://github.com/apache/incubator-seata-go/pull/213)] 支持数据源代理功能 | |||
- [[#240](https://github.com/apache/incubator-seata-go/pull/240)] 删除日志管理功能 | |||
- [[#243](https://github.com/apache/incubator-seata-go/pull/243)] 添加 Update SQL 语法解析器 | |||
- [[#191](https://github.com/apache/incubator-seata-go/pull/191)] 支持 TCC 防悬挂、空回滚处理功能 | |||
- [[#264](https://github.com/apache/incubator-seata-go/pull/264)] 添加更新sql解析器并删除 tidb 解析器 | |||
- [[#280](https://github.com/apache/incubator-seata-go/pull/280)] TCC 支持 http 调用 | |||
- [[#245](https://github.com/apache/incubator-seata-go/pull/245)] 支持 hasLogTable 判断逻辑 | |||
- [[#288](https://github.com/apache/incubator-seata-go/pull/288)] 添加 update SQL 的 undo log 生成功能 | |||
- [[#296](https://github.com/apache/incubator-seata-go/pull/296)] 添加 delete SQL 的 undo log 生成功能 | |||
- [[#303](https://github.com/apache/incubator-seata-go/pull/303)] 添加异步处理器 | |||
- [[#289](https://github.com/apache/incubator-seata-go/pull/289)] 撤消日志生成器后添加 MySQL 更新 | |||
- [[#294](https://github.com/apache/incubator-seata-go/pull/294)] 添加 MySQL 元数据查询 | |||
- [[#309](https://github.com/apache/incubator-seata-go/pull/309)] 初始化压缩类型 | |||
- [[#301](https://github.com/apache/incubator-seata-go/pull/301)] 添加 Multi SQL 的 undo log 生成功能 | |||
- [[#321](https://github.com/apache/incubator-seata-go/pull/321)] 添加 deflate 压缩功能 | |||
- [[#324](https://github.com/apache/incubator-seata-go/pull/324)] 添加 lz4 压缩功能 | |||
- [[#327](https://github.com/apache/incubator-seata-go/pull/327)] 添加 zstd 压缩功能 | |||
- [[#322](https://github.com/apache/incubator-seata-go/pull/322)] 添加 gzip 压缩功能 | |||
- [[#307](https://github.com/apache/incubator-seata-go/pull/307)] 添加 flush undo log 功能 | |||
- [[#329](https://github.com/apache/incubator-seata-go/pull/329)] 添加 zip 压缩功能 | |||
- [[#325](https://github.com/apache/incubator-seata-go/pull/325)] 添加 Multi update SQL 的 undo log 生成功能 | |||
- [[#330](https://github.com/apache/incubator-seata-go/pull/330)] 添加 Multi delete SQL 的 undo log 生成功能 | |||
- [[#319](https://github.com/apache/incubator-seata-go/pull/319)] 添加选择更新执行器 | |||
- [[#320](https://github.com/apache/incubator-seata-go/pull/320)] 添加 undo 逻辑 | |||
- [[#337](https://github.com/apache/incubator-seata-go/pull/337)] 添加插入 undo log 逻辑 | |||
- [[#355](https://github.com/apache/incubator-seata-go/pull/355)] 支持根据配置判断 undo log 保存字段个数 | |||
- [[#365](https://github.com/apache/incubator-seata-go/pull/365)] 回滚 AT 之前做脏数据校验 | |||
### bugfix: | |||
- [[#176](https://github.com/seata/seata-go/pull/176)] 修复 message 的单测的 bug | |||
- [[#237](https://github.com/seata/seata-go/pull/237)] 修复在执行 OpenConnector 函数时候注册资源的 bug | |||
- [[#230](https://github.com/seata/seata-go/pull/230)] 修复远程异步调用无限循环的bug | |||
- [[#258](https://github.com/seata/seata-go/pull/258)] 修复全局事务超时的 bug | |||
- [[#263](https://github.com/seata/seata-go/pull/263)] 修复 mock 数据的 bug | |||
- [[#326](https://github.com/seata/seata-go/pull/326)] 修复 fanout 单元测试 bug | |||
- [[#350](https://github.com/seata/seata-go/pull/350)] 修复 panic 的bug | |||
- [[#359](https://github.com/seata/seata-go/pull/359)] 修复插入 undo log 的 MySQL 参数 bug | |||
- [[#360](https://github.com/seata/seata-go/pull/360)] 修复 AT 回滚例子 bug | |||
- [[#363](https://github.com/seata/seata-go/pull/363)] 修复 meta data bug | |||
- [[#365](https://github.com/seata/seata-go/pull/365)] 修复反序列化 undo log bug | |||
- [[#176](https://github.com/apache/incubator-seata-go/pull/176)] 修复 message 的单测的 bug | |||
- [[#237](https://github.com/apache/incubator-seata-go/pull/237)] 修复在执行 OpenConnector 函数时候注册资源的 bug | |||
- [[#230](https://github.com/apache/incubator-seata-go/pull/230)] 修复远程异步调用无限循环的bug | |||
- [[#258](https://github.com/apache/incubator-seata-go/pull/258)] 修复全局事务超时的 bug | |||
- [[#263](https://github.com/apache/incubator-seata-go/pull/263)] 修复 mock 数据的 bug | |||
- [[#326](https://github.com/apache/incubator-seata-go/pull/326)] 修复 fanout 单元测试 bug | |||
- [[#350](https://github.com/apache/incubator-seata-go/pull/350)] 修复 panic 的bug | |||
- [[#359](https://github.com/apache/incubator-seata-go/pull/359)] 修复插入 undo log 的 MySQL 参数 bug | |||
- [[#360](https://github.com/apache/incubator-seata-go/pull/360)] 修复 AT 回滚例子 bug | |||
- [[#363](https://github.com/apache/incubator-seata-go/pull/363)] 修复 meta data bug | |||
- [[#365](https://github.com/apache/incubator-seata-go/pull/365)] 修复反序列化 undo log bug | |||
### optimize: | |||
- [[#187](https://github.com/seata/seata-go/pull/187)] 优化 seata-go 初始化流程 | |||
- [[#196](https://github.com/seata/seata-go/pull/196)] 优化远程调用方法参数 | |||
- [[#200](https://github.com/seata/seata-go/pull/200)] 添加 tcc grpc 样例,优化注册资源和分支注册 | |||
- [[#208](https://github.com/seata/seata-go/pull/208)] 优化删除不必要代码 | |||
- [[#215](https://github.com/seata/seata-go/pull/215)] 优化使时间参数,提高可读性 | |||
- [[#179](https://github.com/seata/seata-go/pull/179)] 支持 TCC 一阶段传入用户自定义参数 | |||
- [[#198](https://github.com/seata/seata-go/pull/198)] 优化远程调用方法的传参 | |||
- [[#235](https://github.com/seata/seata-go/pull/235)] 调整 MessageType 枚举值命名规范 | |||
- [[#238](https://github.com/seata/seata-go/pull/238)] 添加一些待办事项注释,添加 hook 例子 | |||
- [[#261](https://github.com/seata/seata-go/pull/261)] 优化嵌套循环重试 | |||
- [[#284](https://github.com/seata/seata-go/pull/284)] 优化重试逻辑 | |||
- [[#286](https://github.com/seata/seata-go/pull/286)] 将 rm 和 tm 的初始化逻辑拆分 | |||
- [[#287](https://github.com/seata/seata-go/pull/287)] 重构 seata conn 逻辑 | |||
- [[#281](https://github.com/seata/seata-go/pull/281)] 优化全局事务使用 | |||
- [[#295](https://github.com/seata/seata-go/pull/295)] 重构 seata conn 逻辑 | |||
- [[#302](https://github.com/seata/seata-go/pull/302)] 修改 dubbo-go 版本 | |||
- [[#336](https://github.com/seata/seata-go/pull/336)] 优化 at 整体流程 | |||
- [[#346](https://github.com/seata/seata-go/pull/346)] 优化 at 事务提交流程 | |||
- [[#352](https://github.com/seata/seata-go/pull/352)] 优化获取元数据流程 | |||
- [[#354](https://github.com/seata/seata-go/pull/354)] 优化 at 事务提交流程 | |||
- [[#353](https://github.com/seata/seata-go/pull/353)] 修改方法接收者命名规范 | |||
- [[#356](https://github.com/seata/seata-go/pull/356)] 优化 at 事务回滚流程 | |||
- [[#187](https://github.com/apache/incubator-seata-go/pull/187)] 优化 seata-go 初始化流程 | |||
- [[#196](https://github.com/apache/incubator-seata-go/pull/196)] 优化远程调用方法参数 | |||
- [[#200](https://github.com/apache/incubator-seata-go/pull/200)] 添加 tcc grpc 样例,优化注册资源和分支注册 | |||
- [[#208](https://github.com/apache/incubator-seata-go/pull/208)] 优化删除不必要代码 | |||
- [[#215](https://github.com/apache/incubator-seata-go/pull/215)] 优化使时间参数,提高可读性 | |||
- [[#179](https://github.com/apache/incubator-seata-go/pull/179)] 支持 TCC 一阶段传入用户自定义参数 | |||
- [[#198](https://github.com/apache/incubator-seata-go/pull/198)] 优化远程调用方法的传参 | |||
- [[#235](https://github.com/apache/incubator-seata-go/pull/235)] 调整 MessageType 枚举值命名规范 | |||
- [[#238](https://github.com/apache/incubator-seata-go/pull/238)] 添加一些待办事项注释,添加 hook 例子 | |||
- [[#261](https://github.com/apache/incubator-seata-go/pull/261)] 优化嵌套循环重试 | |||
- [[#284](https://github.com/apache/incubator-seata-go/pull/284)] 优化重试逻辑 | |||
- [[#286](https://github.com/apache/incubator-seata-go/pull/286)] 将 rm 和 tm 的初始化逻辑拆分 | |||
- [[#287](https://github.com/apache/incubator-seata-go/pull/287)] 重构 seata conn 逻辑 | |||
- [[#281](https://github.com/apache/incubator-seata-go/pull/281)] 优化全局事务使用 | |||
- [[#295](https://github.com/apache/incubator-seata-go/pull/295)] 重构 seata conn 逻辑 | |||
- [[#302](https://github.com/apache/incubator-seata-go/pull/302)] 修改 dubbo-go 版本 | |||
- [[#336](https://github.com/apache/incubator-seata-go/pull/336)] 优化 at 整体流程 | |||
- [[#346](https://github.com/apache/incubator-seata-go/pull/346)] 优化 at 事务提交流程 | |||
- [[#352](https://github.com/apache/incubator-seata-go/pull/352)] 优化获取元数据流程 | |||
- [[#354](https://github.com/apache/incubator-seata-go/pull/354)] 优化 at 事务提交流程 | |||
- [[#353](https://github.com/apache/incubator-seata-go/pull/353)] 修改方法接收者命名规范 | |||
- [[#356](https://github.com/apache/incubator-seata-go/pull/356)] 优化 at 事务回滚流程 | |||
### test: | |||
- [[#154](https://github.com/seata/seata-go/pull/154)] 添加 message 单元单测 | |||
- [[#163](https://github.com/seata/seata-go/pull/163)] 添加 tm 单元单测 | |||
- [[#203](https://github.com/seata/seata-go/pull/203)] 添加 getty 单元测试 | |||
- [[#204](https://github.com/seata/seata-go/pull/204)] 添加 dubbo filter 单元测试 | |||
- [[#210](https://github.com/seata/seata-go/pull/210)] 添加 Tcc 分支报告测试 | |||
- [[#192](https://github.com/seata/seata-go/pull/192)] 添加 rm 单元测试 | |||
- [[#229](https://github.com/seata/seata-go/pull/229)] 添加 common 单元测试 | |||
- [[#299](https://github.com/seata/seata-go/pull/299)] 添加 SQL Parser 单元测试 | |||
- [[#332](https://github.com/seata/seata-go/pull/332)] 添加 multi delete undo log 单元测试 | |||
- [[#358](https://github.com/seata/seata-go/pull/358)] 添加 AT 回滚的例子 | |||
- [[#154](https://github.com/apache/incubator-seata-go/pull/154)] 添加 message 单元单测 | |||
- [[#163](https://github.com/apache/incubator-seata-go/pull/163)] 添加 tm 单元单测 | |||
- [[#203](https://github.com/apache/incubator-seata-go/pull/203)] 添加 getty 单元测试 | |||
- [[#204](https://github.com/apache/incubator-seata-go/pull/204)] 添加 dubbo filter 单元测试 | |||
- [[#210](https://github.com/apache/incubator-seata-go/pull/210)] 添加 Tcc 分支报告测试 | |||
- [[#192](https://github.com/apache/incubator-seata-go/pull/192)] 添加 rm 单元测试 | |||
- [[#229](https://github.com/apache/incubator-seata-go/pull/229)] 添加 common 单元测试 | |||
- [[#299](https://github.com/apache/incubator-seata-go/pull/299)] 添加 SQL Parser 单元测试 | |||
- [[#332](https://github.com/apache/incubator-seata-go/pull/332)] 添加 multi delete undo log 单元测试 | |||
- [[#358](https://github.com/apache/incubator-seata-go/pull/358)] 添加 AT 回滚的例子 | |||
### doc: | |||
- [[#202](https://github.com/seata/seata-go/pull/202)] 优化 github CI 流程,添加 condecov 、 issue CI 工作流 | |||
- [[#254](https://github.com/seata/seata-go/pull/254)] 添加自动检查 licence 的脚本 | |||
- [[#305](https://github.com/seata/seata-go/pull/305)] 修改 CI 不要自动关闭 issue 和 pr | |||
- [[#202](https://github.com/apache/incubator-seata-go/pull/202)] 优化 github CI 流程,添加 condecov 、 issue CI 工作流 | |||
- [[#254](https://github.com/apache/incubator-seata-go/pull/254)] 添加自动检查 licence 的脚本 | |||
- [[#305](https://github.com/apache/incubator-seata-go/pull/305)] 修改 CI 不要自动关闭 issue 和 pr | |||
@@ -135,18 +135,18 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
- [liiibpm](https://github.com/liiibpm) | |||
- [elrond-g](https://github.com/elrond-g) | |||
- [wang1309](https://github.com/wang1309) | |||
- [iSuperCoder](https://github.com/seata/seata-go/commits?author=iSuperCoder) | |||
- [a631807682](https://github.com/seata/seata-go/commits?author=a631807682) | |||
- [betterwinsone](https://github.com/seata/seata-go/commits?author=betterwinsone) | |||
- [jasondeng1997](https://github.com/seata/seata-go/commits?author=jasondeng1997) | |||
- [chuntaojun](https://github.com/seata/seata-go/commits?author=chuntaojun) | |||
- [complone](https://github.com/seata/seata-go/commits?author=complone) | |||
- [miaoxueyu](https://github.com/seata/seata-go/commits?author=miaoxueyu) | |||
- [PangXing](https://github.com/seata/seata-go/commits?author=PangXing) | |||
- [georgehao](https://github.com/seata/seata-go/commits?author=georgehao) | |||
- [baerwang](https://github.com/seata/seata-go/commits?author=baerwang) | |||
- [raspberry-hu](https://github.com/seata/seata-go/commits?author=raspberry-hu) | |||
- [WyattJia](https://github.com/seata/seata-go/commits?author=WyattJia) | |||
- [iSuperCoder](https://github.com/apache/incubator-seata-go/commits?author=iSuperCoder) | |||
- [a631807682](https://github.com/apache/incubator-seata-go/commits?author=a631807682) | |||
- [betterwinsone](https://github.com/apache/incubator-seata-go/commits?author=betterwinsone) | |||
- [jasondeng1997](https://github.com/apache/incubator-seata-go/commits?author=jasondeng1997) | |||
- [chuntaojun](https://github.com/apache/incubator-seata-go/commits?author=chuntaojun) | |||
- [complone](https://github.com/apache/incubator-seata-go/commits?author=complone) | |||
- [miaoxueyu](https://github.com/apache/incubator-seata-go/commits?author=miaoxueyu) | |||
- [PangXing](https://github.com/apache/incubator-seata-go/commits?author=PangXing) | |||
- [georgehao](https://github.com/apache/incubator-seata-go/commits?author=georgehao) | |||
- [baerwang](https://github.com/apache/incubator-seata-go/commits?author=baerwang) | |||
- [raspberry-hu](https://github.com/apache/incubator-seata-go/commits?author=raspberry-hu) | |||
- [WyattJia](https://github.com/apache/incubator-seata-go/commits?author=WyattJia) | |||
- [Code-Fight](https://github.com/Code-Fight) | |||
- [betterwinsone](https://github.com/betterwinsonet) | |||
@@ -30,48 +30,48 @@ | |||
### feature: | |||
- [[#380](https://github.com/seata/seata-go/pull/380)] support xa mysql connection | |||
- [[#383](https://github.com/seata/seata-go/pull/383)] support read tcc fence configuration file | |||
- [[#389](https://github.com/seata/seata-go/pull/389)] add the transaction id of xa mode | |||
- [[#398](https://github.com/seata/seata-go/pull/398)] support read TM configuration file | |||
- [[#399](https://github.com/seata/seata-go/pull/399)] support read getty configuration file | |||
- [[#405](https://github.com/seata/seata-go/pull/405)] support at mode insert on duplicate sql parsing | |||
- [[#406](https://github.com/seata/seata-go/pull/406)] support read transport configuration file | |||
- [[#410](https://github.com/seata/seata-go/pull/410)] support read undo log configuration file | |||
- [[#411](https://github.com/seata/seata-go/pull/411)] use tm's profile properties in the project | |||
- [[#412](https://github.com/seata/seata-go/pull/412)] support read rm configuration file | |||
- [[#412](https://github.com/seata/seata-go/pull/412)] support read service configuration file | |||
- [[#419](https://github.com/seata/seata-go/pull/419)] use undo-log's profile properties in the project | |||
- [[#380](https://github.com/apache/incubator-seata-go/pull/380)] support xa mysql connection | |||
- [[#383](https://github.com/apache/incubator-seata-go/pull/383)] support read tcc fence configuration file | |||
- [[#389](https://github.com/apache/incubator-seata-go/pull/389)] add the transaction id of xa mode | |||
- [[#398](https://github.com/apache/incubator-seata-go/pull/398)] support read TM configuration file | |||
- [[#399](https://github.com/apache/incubator-seata-go/pull/399)] support read getty configuration file | |||
- [[#405](https://github.com/apache/incubator-seata-go/pull/405)] support at mode insert on duplicate sql parsing | |||
- [[#406](https://github.com/apache/incubator-seata-go/pull/406)] support read transport configuration file | |||
- [[#410](https://github.com/apache/incubator-seata-go/pull/410)] support read undo log configuration file | |||
- [[#411](https://github.com/apache/incubator-seata-go/pull/411)] use tm's profile properties in the project | |||
- [[#412](https://github.com/apache/incubator-seata-go/pull/412)] support read rm configuration file | |||
- [[#412](https://github.com/apache/incubator-seata-go/pull/412)] support read service configuration file | |||
- [[#419](https://github.com/apache/incubator-seata-go/pull/419)] use undo-log's profile properties in the project | |||
### bugfix: | |||
- [[#387](https://github.com/seata/seata-go/pull/387)] fix loop recursion problem in OpenConnector | |||
- [[#401](https://github.com/seata/seata-go/pull/401)] fix branch register process | |||
- [[#418](https://github.com/seata/seata-go/pull/418)] fix the configuration file problem of undo log | |||
- [[#423](https://github.com/seata/seata-go/pull/423)] fix getty initialization failure | |||
- [[#424](https://github.com/seata/seata-go/pull/424)] fix getty initialization failure | |||
- [[#429](https://github.com/seata/seata-go/pull/429)] fix the problem of execution failure in at mode | |||
- [[#387](https://github.com/apache/incubator-seata-go/pull/387)] fix loop recursion problem in OpenConnector | |||
- [[#401](https://github.com/apache/incubator-seata-go/pull/401)] fix branch register process | |||
- [[#418](https://github.com/apache/incubator-seata-go/pull/418)] fix the configuration file problem of undo log | |||
- [[#423](https://github.com/apache/incubator-seata-go/pull/423)] fix getty initialization failure | |||
- [[#424](https://github.com/apache/incubator-seata-go/pull/424)] fix getty initialization failure | |||
- [[#429](https://github.com/apache/incubator-seata-go/pull/429)] fix the problem of execution failure in at mode | |||
### optimize: | |||
- [[#366](https://github.com/seata/seata-go/pull/366)] add data check before rollbeck | |||
- [[#367](https://github.com/seata/seata-go/pull/367)] simplify to make codes more readable | |||
- [[#369](https://github.com/seata/seata-go/pull/369)] remove unless function | |||
- [[#385](https://github.com/seata/seata-go/pull/385)] optimize the SQL used in AT sample | |||
- [[#388](https://github.com/seata/seata-go/pull/388)] optimize comments and dead code | |||
- [[#390](https://github.com/seata/seata-go/pull/390)] optime rm init | |||
- [[#392](https://github.com/seata/seata-go/pull/392)] optimize code style | |||
- [[#394](https://github.com/seata/seata-go/pull/394)] optimize at mode base executor | |||
- [[#400](https://github.com/seata/seata-go/pull/400)] optime protocol init | |||
- [[#408](https://github.com/seata/seata-go/pull/408)] optime log init | |||
- [[#409](https://github.com/seata/seata-go/pull/409)] refactor logic of delete and insert sql in at mode | |||
- [[#414](https://github.com/seata/seata-go/pull/414)] rename unit test file | |||
- [[#422](https://github.com/seata/seata-go/pull/422)] remove unused config code | |||
- [[#366](https://github.com/apache/incubator-seata-go/pull/366)] add data check before rollbeck | |||
- [[#367](https://github.com/apache/incubator-seata-go/pull/367)] simplify to make codes more readable | |||
- [[#369](https://github.com/apache/incubator-seata-go/pull/369)] remove unless function | |||
- [[#385](https://github.com/apache/incubator-seata-go/pull/385)] optimize the SQL used in AT sample | |||
- [[#388](https://github.com/apache/incubator-seata-go/pull/388)] optimize comments and dead code | |||
- [[#390](https://github.com/apache/incubator-seata-go/pull/390)] optime rm init | |||
- [[#392](https://github.com/apache/incubator-seata-go/pull/392)] optimize code style | |||
- [[#394](https://github.com/apache/incubator-seata-go/pull/394)] optimize at mode base executor | |||
- [[#400](https://github.com/apache/incubator-seata-go/pull/400)] optime protocol init | |||
- [[#408](https://github.com/apache/incubator-seata-go/pull/408)] optime log init | |||
- [[#409](https://github.com/apache/incubator-seata-go/pull/409)] refactor logic of delete and insert sql in at mode | |||
- [[#414](https://github.com/apache/incubator-seata-go/pull/414)] rename unit test file | |||
- [[#422](https://github.com/apache/incubator-seata-go/pull/422)] remove unused config code | |||
### test: | |||
### doc: | |||
- [[#417](https://github.com/seata/seata-go/pull/417)] optiomize readme file | |||
- [[#417](https://github.com/apache/incubator-seata-go/pull/417)] optiomize readme file | |||
### contributors: | |||
@@ -30,49 +30,49 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
### feature: | |||
- [[#380](https://github.com/seata/seata-go/pull/380)] 支持 MySQL XA 的连接 | |||
- [[#383](https://github.com/seata/seata-go/pull/383)] 支持 TCC Fence 读取配置文件 | |||
- [[#389](https://github.com/seata/seata-go/pull/389)] 添加 XA 模式的事务ID | |||
- [[#398](https://github.com/seata/seata-go/pull/398)] 支持 TM 读取配置文件 | |||
- [[#399](https://github.com/seata/seata-go/pull/399)] 支持 getty 读取配置文件 | |||
- [[#405](https://github.com/seata/seata-go/pull/405)] 支持 AT 模式 insert on duplicate SQL 解析 | |||
- [[#406](https://github.com/seata/seata-go/pull/406)] 支持 transport 读取配置文件 | |||
- [[#410](https://github.com/seata/seata-go/pull/410)] 支持 undo log 读取配置文件 | |||
- [[#411](https://github.com/seata/seata-go/pull/411)] 在项目中使用 tm 的配置文件属性 | |||
- [[#412](https://github.com/seata/seata-go/pull/412)] 支持 RM 读取配置文件 | |||
- [[#413](https://github.com/seata/seata-go/pull/413)] 支持 service 读取配置文件 | |||
- [[#419](https://github.com/seata/seata-go/pull/419)] 在项目中使用 undo log 的配置文件属性 | |||
- [[#421](https://github.com/seata/seata-go/pull/421)] 支持 service 读取配置文件 | |||
- [[#380](https://github.com/apache/incubator-seata-go/pull/380)] 支持 MySQL XA 的连接 | |||
- [[#383](https://github.com/apache/incubator-seata-go/pull/383)] 支持 TCC Fence 读取配置文件 | |||
- [[#389](https://github.com/apache/incubator-seata-go/pull/389)] 添加 XA 模式的事务ID | |||
- [[#398](https://github.com/apache/incubator-seata-go/pull/398)] 支持 TM 读取配置文件 | |||
- [[#399](https://github.com/apache/incubator-seata-go/pull/399)] 支持 getty 读取配置文件 | |||
- [[#405](https://github.com/apache/incubator-seata-go/pull/405)] 支持 AT 模式 insert on duplicate SQL 解析 | |||
- [[#406](https://github.com/apache/incubator-seata-go/pull/406)] 支持 transport 读取配置文件 | |||
- [[#410](https://github.com/apache/incubator-seata-go/pull/410)] 支持 undo log 读取配置文件 | |||
- [[#411](https://github.com/apache/incubator-seata-go/pull/411)] 在项目中使用 tm 的配置文件属性 | |||
- [[#412](https://github.com/apache/incubator-seata-go/pull/412)] 支持 RM 读取配置文件 | |||
- [[#413](https://github.com/apache/incubator-seata-go/pull/413)] 支持 service 读取配置文件 | |||
- [[#419](https://github.com/apache/incubator-seata-go/pull/419)] 在项目中使用 undo log 的配置文件属性 | |||
- [[#421](https://github.com/apache/incubator-seata-go/pull/421)] 支持 service 读取配置文件 | |||
### bugfix: | |||
- [[#387](https://github.com/seata/seata-go/pull/387)] 修复 OpenConnector 中死循环的问题 | |||
- [[#401](https://github.com/seata/seata-go/pull/401)] 优化注册事务分支的流程 | |||
- [[#418](https://github.com/seata/seata-go/pull/418)] 修复 undo log 的配置文件的问题 | |||
- [[#423](https://github.com/seata/seata-go/pull/423)] 修复 getty 初始化失败的问题 | |||
- [[#424](https://github.com/seata/seata-go/pull/424)] 修复 getty 初始化失败的问题 | |||
- [[#429](https://github.com/seata/seata-go/pull/429)] 修复 AT 模式执行失败的问题 | |||
- [[#387](https://github.com/apache/incubator-seata-go/pull/387)] 修复 OpenConnector 中死循环的问题 | |||
- [[#401](https://github.com/apache/incubator-seata-go/pull/401)] 优化注册事务分支的流程 | |||
- [[#418](https://github.com/apache/incubator-seata-go/pull/418)] 修复 undo log 的配置文件的问题 | |||
- [[#423](https://github.com/apache/incubator-seata-go/pull/423)] 修复 getty 初始化失败的问题 | |||
- [[#424](https://github.com/apache/incubator-seata-go/pull/424)] 修复 getty 初始化失败的问题 | |||
- [[#429](https://github.com/apache/incubator-seata-go/pull/429)] 修复 AT 模式执行失败的问题 | |||
### optimize: | |||
- [[#366](https://github.com/seata/seata-go/pull/366)] AT 回滚前添加数据校验逻辑 | |||
- [[#367](https://github.com/seata/seata-go/pull/367)] 优化 AT 代码的命名 | |||
- [[#369](https://github.com/seata/seata-go/pull/369)] 移除不用的方法 | |||
- [[#385](https://github.com/seata/seata-go/pull/385)] 优化 AT sample 的建表SQL | |||
- [[#388](https://github.com/seata/seata-go/pull/388)] 优化代码注释,删除不用的代码 | |||
- [[#390](https://github.com/seata/seata-go/pull/390)] 优化 RM 的初始化流程 | |||
- [[#392](https://github.com/seata/seata-go/pull/392)] 优化代码的风格问题 | |||
- [[#394](https://github.com/seata/seata-go/pull/394)] 重构 AT 模式的执行器 | |||
- [[#400](https://github.com/seata/seata-go/pull/400)] 优化 protocol 的初始化流程 | |||
- [[#408](https://github.com/seata/seata-go/pull/408)] 优化 log 的初始化流程 | |||
- [[#409](https://github.com/seata/seata-go/pull/409)] 重构 AT 模式的 delete 和 insert SQL 的执行逻辑 | |||
- [[#414](https://github.com/seata/seata-go/pull/414)] 重命名单测文件 | |||
- [[#422](https://github.com/seata/seata-go/pull/422)] 移除未使用的 config 代码 | |||
- [[#366](https://github.com/apache/incubator-seata-go/pull/366)] AT 回滚前添加数据校验逻辑 | |||
- [[#367](https://github.com/apache/incubator-seata-go/pull/367)] 优化 AT 代码的命名 | |||
- [[#369](https://github.com/apache/incubator-seata-go/pull/369)] 移除不用的方法 | |||
- [[#385](https://github.com/apache/incubator-seata-go/pull/385)] 优化 AT sample 的建表SQL | |||
- [[#388](https://github.com/apache/incubator-seata-go/pull/388)] 优化代码注释,删除不用的代码 | |||
- [[#390](https://github.com/apache/incubator-seata-go/pull/390)] 优化 RM 的初始化流程 | |||
- [[#392](https://github.com/apache/incubator-seata-go/pull/392)] 优化代码的风格问题 | |||
- [[#394](https://github.com/apache/incubator-seata-go/pull/394)] 重构 AT 模式的执行器 | |||
- [[#400](https://github.com/apache/incubator-seata-go/pull/400)] 优化 protocol 的初始化流程 | |||
- [[#408](https://github.com/apache/incubator-seata-go/pull/408)] 优化 log 的初始化流程 | |||
- [[#409](https://github.com/apache/incubator-seata-go/pull/409)] 重构 AT 模式的 delete 和 insert SQL 的执行逻辑 | |||
- [[#414](https://github.com/apache/incubator-seata-go/pull/414)] 重命名单测文件 | |||
- [[#422](https://github.com/apache/incubator-seata-go/pull/422)] 移除未使用的 config 代码 | |||
### test: | |||
### doc: | |||
- [[#417](https://github.com/seata/seata-go/pull/417)] 调整 readme 文件内容 | |||
- [[#417](https://github.com/apache/incubator-seata-go/pull/417)] 调整 readme 文件内容 | |||
### contributors: | |||
@@ -30,43 +30,43 @@ The version is updated as follows: | |||
### feature: | |||
- [[#491](https://github.com/seata/seata-go/pull/491)] support query global lock key | |||
- [[#482](https://github.com/seata/seata-go/pull/482)] support multi delete SQL executor in AT | |||
- [[#481](https://github.com/seata/seata-go/pull/481)] support multi update SQL executor in AT | |||
- [[#478](https://github.com/seata/seata-go/pull/478)] support select for update SQL executor in AT | |||
- [[#477](https://github.com/seata/seata-go/pull/477)] support the json serialization method of undo log | |||
- [[#456](https://github.com/seata/seata-go/pull/456)] support insert on update SQL executor in AT | |||
- [[#444](https://github.com/seata/seata-go/pull/444)] support BZip2Compressor | |||
- [[#436](https://github.com/seata/seata-go/pull/436)] use rm config file | |||
- [[#433](https://github.com/seata/seata-go/pull/433)] support xa connect manager | |||
- [[#430](https://github.com/seata/seata-go/pull/430)] use getty config file | |||
- [[#491](https://github.com/apache/incubator-seata-go/pull/491)] support query global lock key | |||
- [[#482](https://github.com/apache/incubator-seata-go/pull/482)] support multi delete SQL executor in AT | |||
- [[#481](https://github.com/apache/incubator-seata-go/pull/481)] support multi update SQL executor in AT | |||
- [[#478](https://github.com/apache/incubator-seata-go/pull/478)] support select for update SQL executor in AT | |||
- [[#477](https://github.com/apache/incubator-seata-go/pull/477)] support the json serialization method of undo log | |||
- [[#456](https://github.com/apache/incubator-seata-go/pull/456)] support insert on update SQL executor in AT | |||
- [[#444](https://github.com/apache/incubator-seata-go/pull/444)] support BZip2Compressor | |||
- [[#436](https://github.com/apache/incubator-seata-go/pull/436)] use rm config file | |||
- [[#433](https://github.com/apache/incubator-seata-go/pull/433)] support xa connect manager | |||
- [[#430](https://github.com/apache/incubator-seata-go/pull/430)] use getty config file | |||
### bugfix: | |||
- [[#509](https://github.com/seata/seata-go/pull/509)] fix undo log SQLType when execute insert on update SQL in AT | |||
- [[#495](https://github.com/seata/seata-go/pull/495)] fix undo log SQLType bug | |||
- [[#487](https://github.com/seata/seata-go/pull/487)] fix at bug when execute | |||
- [[#472](https://github.com/seata/seata-go/pull/472)] fix missing value of context When using global transactions | |||
- [[#461](https://github.com/seata/seata-go/pull/461)] fix the problem of error_code_test | |||
- [[#459](https://github.com/seata/seata-go/pull/459)] fix the rollback error log | |||
- [[#452](https://github.com/seata/seata-go/pull/452)] fix the error of id self-increment when executing insert sql in AT | |||
- [[#509](https://github.com/apache/incubator-seata-go/pull/509)] fix undo log SQLType when execute insert on update SQL in AT | |||
- [[#495](https://github.com/apache/incubator-seata-go/pull/495)] fix undo log SQLType bug | |||
- [[#487](https://github.com/apache/incubator-seata-go/pull/487)] fix at bug when execute | |||
- [[#472](https://github.com/apache/incubator-seata-go/pull/472)] fix missing value of context When using global transactions | |||
- [[#461](https://github.com/apache/incubator-seata-go/pull/461)] fix the problem of error_code_test | |||
- [[#459](https://github.com/apache/incubator-seata-go/pull/459)] fix the rollback error log | |||
- [[#452](https://github.com/apache/incubator-seata-go/pull/452)] fix the error of id self-increment when executing insert sql in AT | |||
### optimize: | |||
- [[#507](https://github.com/seata/seata-go/pull/507)] refactor logic of multiple update sql in AT | |||
- [[#505](https://github.com/seata/seata-go/pull/505)] optimize multi SQL executor in AT | |||
- [[#453](https://github.com/seata/seata-go/pull/453)] optimize the messageType and transactionErrorCode enum | |||
- [[#447](https://github.com/seata/seata-go/pull/447)] optimize the datasource init process | |||
- [[#466](https://github.com/seata/seata-go/pull/466)] optimize variable naming | |||
- [[#507](https://github.com/apache/incubator-seata-go/pull/507)] refactor logic of multiple update sql in AT | |||
- [[#505](https://github.com/apache/incubator-seata-go/pull/505)] optimize multi SQL executor in AT | |||
- [[#453](https://github.com/apache/incubator-seata-go/pull/453)] optimize the messageType and transactionErrorCode enum | |||
- [[#447](https://github.com/apache/incubator-seata-go/pull/447)] optimize the datasource init process | |||
- [[#466](https://github.com/apache/incubator-seata-go/pull/466)] optimize variable naming | |||
### test: | |||
- [[#445](https://github.com/seata/seata-go/pull/445)] add unit test for TransactionErrorCode and MessageType | |||
- [[#445](https://github.com/apache/incubator-seata-go/pull/445)] add unit test for TransactionErrorCode and MessageType | |||
### doc: | |||
- [[#492](https://github.com/seata/seata-go/pull/492)] update feature list of readme | |||
- [[#489](https://github.com/seata/seata-go/pull/489)] add change-log of version 1.1.0 | |||
- [[#492](https://github.com/apache/incubator-seata-go/pull/492)] update feature list of readme | |||
- [[#489](https://github.com/apache/incubator-seata-go/pull/489)] add change-log of version 1.1.0 | |||
### contributors: | |||
@@ -30,43 +30,43 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
### feature: | |||
- [[#491](https://github.com/seata/seata-go/pull/491)] 支持查询全局事务锁 | |||
- [[#482](https://github.com/seata/seata-go/pull/482)] 支持 AT 模式 multi delete SQL 执行器 | |||
- [[#481](https://github.com/seata/seata-go/pull/481)] 支持 AT 模式 multi update SQL 执行器 | |||
- [[#478](https://github.com/seata/seata-go/pull/478)] 支持 AT 模式 select for update SQL 执行器 | |||
- [[#477](https://github.com/seata/seata-go/pull/477)] 支持 undo log 的 json 序列化方式 | |||
- [[#456](https://github.com/seata/seata-go/pull/456)] 支持 AT 模式 insert on update SQL 执行器 | |||
- [[#444](https://github.com/seata/seata-go/pull/444)] 支持 BZip 压缩算法 | |||
- [[#436](https://github.com/seata/seata-go/pull/436)] 支持读取 rm 相关的配置文件 | |||
- [[#433](https://github.com/seata/seata-go/pull/433)] 支持 xa 连接管理 | |||
- [[#430](https://github.com/seata/seata-go/pull/430)] 支持读取 getty 相关的配置文件 | |||
- [[#491](https://github.com/apache/incubator-seata-go/pull/491)] 支持查询全局事务锁 | |||
- [[#482](https://github.com/apache/incubator-seata-go/pull/482)] 支持 AT 模式 multi delete SQL 执行器 | |||
- [[#481](https://github.com/apache/incubator-seata-go/pull/481)] 支持 AT 模式 multi update SQL 执行器 | |||
- [[#478](https://github.com/apache/incubator-seata-go/pull/478)] 支持 AT 模式 select for update SQL 执行器 | |||
- [[#477](https://github.com/apache/incubator-seata-go/pull/477)] 支持 undo log 的 json 序列化方式 | |||
- [[#456](https://github.com/apache/incubator-seata-go/pull/456)] 支持 AT 模式 insert on update SQL 执行器 | |||
- [[#444](https://github.com/apache/incubator-seata-go/pull/444)] 支持 BZip 压缩算法 | |||
- [[#436](https://github.com/apache/incubator-seata-go/pull/436)] 支持读取 rm 相关的配置文件 | |||
- [[#433](https://github.com/apache/incubator-seata-go/pull/433)] 支持 xa 连接管理 | |||
- [[#430](https://github.com/apache/incubator-seata-go/pull/430)] 支持读取 getty 相关的配置文件 | |||
### bugfix: | |||
- [[#509](https://github.com/seata/seata-go/pull/509)] 修复 AT 模式下执行 insert on update 时 undo log 的 SQLType 字段的问题 | |||
- [[#495](https://github.com/seata/seata-go/pull/495)] 修复 undo log 的 SQLType 字段的问题 | |||
- [[#487](https://github.com/seata/seata-go/pull/487)] 修复 AT 执行时出现的问题 | |||
- [[#472](https://github.com/seata/seata-go/pull/472)] 修复全局事务中上下文丢失值问题 | |||
- [[#461](https://github.com/seata/seata-go/pull/461)] 修复 error_code_test 中变量未定义导致的 ci 失败问题 | |||
- [[#459](https://github.com/seata/seata-go/pull/459)] 修复 error 日志重复打印问题 | |||
- [[#452](https://github.com/seata/seata-go/pull/452)] 修复 AT 模式 执行 insert SQL 时 id 自增的报错问题 | |||
- [[#509](https://github.com/apache/incubator-seata-go/pull/509)] 修复 AT 模式下执行 insert on update 时 undo log 的 SQLType 字段的问题 | |||
- [[#495](https://github.com/apache/incubator-seata-go/pull/495)] 修复 undo log 的 SQLType 字段的问题 | |||
- [[#487](https://github.com/apache/incubator-seata-go/pull/487)] 修复 AT 执行时出现的问题 | |||
- [[#472](https://github.com/apache/incubator-seata-go/pull/472)] 修复全局事务中上下文丢失值问题 | |||
- [[#461](https://github.com/apache/incubator-seata-go/pull/461)] 修复 error_code_test 中变量未定义导致的 ci 失败问题 | |||
- [[#459](https://github.com/apache/incubator-seata-go/pull/459)] 修复 error 日志重复打印问题 | |||
- [[#452](https://github.com/apache/incubator-seata-go/pull/452)] 修复 AT 模式 执行 insert SQL 时 id 自增的报错问题 | |||
### optimize: | |||
- [[#507](https://github.com/seata/seata-go/pull/507)] 优化 AT 模式 multiple update SQL 执行器 | |||
- [[#505](https://github.com/seata/seata-go/pull/505)] 优化 AT 模式 multi SQL 执行器 | |||
- [[#453](https://github.com/seata/seata-go/pull/453)] 优化 messageType 和 transactionErrorCode 枚举值 | |||
- [[#447](https://github.com/seata/seata-go/pull/447)] 优化数据源初始化流程 | |||
- [[#466](https://github.com/seata/seata-go/pull/466)] 优化变量的命名 | |||
- [[#507](https://github.com/apache/incubator-seata-go/pull/507)] 优化 AT 模式 multiple update SQL 执行器 | |||
- [[#505](https://github.com/apache/incubator-seata-go/pull/505)] 优化 AT 模式 multi SQL 执行器 | |||
- [[#453](https://github.com/apache/incubator-seata-go/pull/453)] 优化 messageType 和 transactionErrorCode 枚举值 | |||
- [[#447](https://github.com/apache/incubator-seata-go/pull/447)] 优化数据源初始化流程 | |||
- [[#466](https://github.com/apache/incubator-seata-go/pull/466)] 优化变量的命名 | |||
### test: | |||
- [[#445](https://github.com/seata/seata-go/pull/445)] 添加 TransactionErrorCode 的单元测试 | |||
- [[#445](https://github.com/apache/incubator-seata-go/pull/445)] 添加 TransactionErrorCode 的单元测试 | |||
### doc: | |||
- [[#492](https://github.com/seata/seata-go/pull/492)] 更新 readme 文件的已完成功能列表 | |||
- [[#489](https://github.com/seata/seata-go/pull/489)] 添加 1.1.0 版本的 change log | |||
- [[#492](https://github.com/apache/incubator-seata-go/pull/492)] 更新 readme 文件的已完成功能列表 | |||
- [[#489](https://github.com/apache/incubator-seata-go/pull/489)] 添加 1.1.0 版本的 change log | |||
### contributors: | |||
@@ -30,33 +30,33 @@ The version is updated as follows: | |||
### feature: | |||
- [[#534](https://github.com/seata/seata-go/pull/534)] support session load balance | |||
- [[#535](https://github.com/seata/seata-go/pull/535)] add integrate test | |||
- [[#534](https://github.com/apache/incubator-seata-go/pull/534)] support session load balance | |||
- [[#535](https://github.com/apache/incubator-seata-go/pull/535)] add integrate test | |||
### bugfix: | |||
- [[#540](https://github.com/seata/seata-go/pull/540)] fix init xa panic bug | |||
- [[#545](https://github.com/seata/seata-go/pull/545)] fix get db version bug | |||
- [[#548](https://github.com/seata/seata-go/pull/548)] fix start xa failed bug | |||
- [[#556](https://github.com/seata/seata-go/pull/556)] fix start xa driver failed bug | |||
- [[#562](https://github.com/seata/seata-go/pull/562)] fix commit xa panic bug | |||
- [[#564](https://github.com/seata/seata-go/pull/564)] fix commit xa branch bug | |||
- [[#566](https://github.com/seata/seata-go/pull/566)] fix execute local tx bug | |||
- [[#540](https://github.com/apache/incubator-seata-go/pull/540)] fix init xa panic bug | |||
- [[#545](https://github.com/apache/incubator-seata-go/pull/545)] fix get db version bug | |||
- [[#548](https://github.com/apache/incubator-seata-go/pull/548)] fix start xa failed bug | |||
- [[#556](https://github.com/apache/incubator-seata-go/pull/556)] fix start xa driver failed bug | |||
- [[#562](https://github.com/apache/incubator-seata-go/pull/562)] fix commit xa panic bug | |||
- [[#564](https://github.com/apache/incubator-seata-go/pull/564)] fix commit xa branch bug | |||
- [[#566](https://github.com/apache/incubator-seata-go/pull/566)] fix execute local tx bug | |||
### optimize: | |||
- [[#523](https://github.com/seata/seata-go/pull/523)] optimize the golang ci lint | |||
- [[#525](https://github.com/seata/seata-go/pull/456)] rename parser name from jackson to json | |||
- [[#532](https://github.com/seata/seata-go/pull/532)] remove duplicate code | |||
- [[#536](https://github.com/seata/seata-go/pull/536)] format go import | |||
- [[#554](https://github.com/seata/seata-go/pull/554)] optimize the performance of XA transactions | |||
- [[#561](https://github.com/seata/seata-go/pull/561)] optimize xa output log | |||
- [[#523](https://github.com/apache/incubator-seata-go/pull/523)] optimize the golang ci lint | |||
- [[#525](https://github.com/apache/incubator-seata-go/pull/456)] rename parser name from jackson to json | |||
- [[#532](https://github.com/apache/incubator-seata-go/pull/532)] remove duplicate code | |||
- [[#536](https://github.com/apache/incubator-seata-go/pull/536)] format go import | |||
- [[#554](https://github.com/apache/incubator-seata-go/pull/554)] optimize the performance of XA transactions | |||
- [[#561](https://github.com/apache/incubator-seata-go/pull/561)] optimize xa output log | |||
### test: | |||
### doc: | |||
- [[#550](https://github.com/seata/seata-go/pull/550)] add change-log of version 1.2.0 | |||
- [[#550](https://github.com/apache/incubator-seata-go/pull/550)] add change-log of version 1.2.0 | |||
### contributors: | |||
@@ -30,33 +30,33 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
### feature: | |||
- [[#534](https://github.com/seata/seata-go/pull/534)] 支持 session 的负载均衡 | |||
- [[#535](https://github.com/seata/seata-go/pull/535)] 添加加成测试 | |||
- [[#534](https://github.com/apache/incubator-seata-go/pull/534)] 支持 session 的负载均衡 | |||
- [[#535](https://github.com/apache/incubator-seata-go/pull/535)] 添加加成测试 | |||
### bugfix: | |||
- [[#540](https://github.com/seata/seata-go/pull/540)] 修复初始化 xa 模式的 bug | |||
- [[#545](https://github.com/seata/seata-go/pull/545)] 修复 xa 模式获取 db 版本号的 bug | |||
- [[#548](https://github.com/seata/seata-go/pull/548)] 修复启动 xa 时候会失败的 bug | |||
- [[#556](https://github.com/seata/seata-go/pull/556)] 修复 xa 数据源的 bug | |||
- [[#562](https://github.com/seata/seata-go/pull/562)] 修复提交 xa 全局事务的 bug | |||
- [[#564](https://github.com/seata/seata-go/pull/564)] 修复提交 xa 分支事务的 bug | |||
- [[#566](https://github.com/seata/seata-go/pull/566)] 修复使用 xa 数据源执行本地事务的 bug | |||
- [[#540](https://github.com/apache/incubator-seata-go/pull/540)] 修复初始化 xa 模式的 bug | |||
- [[#545](https://github.com/apache/incubator-seata-go/pull/545)] 修复 xa 模式获取 db 版本号的 bug | |||
- [[#548](https://github.com/apache/incubator-seata-go/pull/548)] 修复启动 xa 时候会失败的 bug | |||
- [[#556](https://github.com/apache/incubator-seata-go/pull/556)] 修复 xa 数据源的 bug | |||
- [[#562](https://github.com/apache/incubator-seata-go/pull/562)] 修复提交 xa 全局事务的 bug | |||
- [[#564](https://github.com/apache/incubator-seata-go/pull/564)] 修复提交 xa 分支事务的 bug | |||
- [[#566](https://github.com/apache/incubator-seata-go/pull/566)] 修复使用 xa 数据源执行本地事务的 bug | |||
### optimize: | |||
- [[#523](https://github.com/seata/seata-go/pull/523)] 优化 CI 流程 | |||
- [[#525](https://github.com/seata/seata-go/pull/456)] 将 jackson 序列化重命名为 json | |||
- [[#532](https://github.com/seata/seata-go/pull/532)] 移除重复的代码 | |||
- [[#536](https://github.com/seata/seata-go/pull/536)] 优化 go import 代码格式 | |||
- [[#554](https://github.com/seata/seata-go/pull/554)] 优化 xa 模式的性能 | |||
- [[#561](https://github.com/seata/seata-go/pull/561)] 优化 xa 模式的日志输出 | |||
- [[#523](https://github.com/apache/incubator-seata-go/pull/523)] 优化 CI 流程 | |||
- [[#525](https://github.com/apache/incubator-seata-go/pull/456)] 将 jackson 序列化重命名为 json | |||
- [[#532](https://github.com/apache/incubator-seata-go/pull/532)] 移除重复的代码 | |||
- [[#536](https://github.com/apache/incubator-seata-go/pull/536)] 优化 go import 代码格式 | |||
- [[#554](https://github.com/apache/incubator-seata-go/pull/554)] 优化 xa 模式的性能 | |||
- [[#561](https://github.com/apache/incubator-seata-go/pull/561)] 优化 xa 模式的日志输出 | |||
### test: | |||
### doc: | |||
- [[#550](https://github.com/seata/seata-go/pull/550)] 添加 1.2.0 版本的改动日志 | |||
- [[#550](https://github.com/apache/incubator-seata-go/pull/550)] 添加 1.2.0 版本的改动日志 | |||
### contributors: | |||
@@ -25,19 +25,19 @@ | |||
### feature: | |||
- [[#123](https://github.com/seata/seata-go/pull/123)] add two phase and dubbo | |||
- [[#123](https://github.com/apache/incubator-seata-go/pull/123)] add two phase and dubbo | |||
### bugfix: | |||
- [[#130](https://github.com/seata/seata-go/pull/130)] getty session auto close bug | |||
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] getty session auto close bug | |||
### optimize: | |||
- [[#125](https://github.com/seata/seata-go/pull/125)] optimize named for the resource manager api and tcc resource | |||
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] optimize named for the resource manager api and tcc resource | |||
### test: | |||
- [[#xxx](https://github.com/seata/seata-go/pull/xxx)] test case for xxx | |||
- [[#xxx](https://github.com/apache/incubator-seata-go/pull/xxx)] test case for xxx | |||
### contributors: | |||
@@ -26,19 +26,19 @@ Seata-go 是一款开源的分布式事务解决方案,提供高性能和简 | |||
### feature: | |||
- [[#123](https://github.com/seata/seata-go/pull/123)] 添加二阶段事务接口,以及dubbo集成 | |||
- [[#123](https://github.com/apache/incubator-seata-go/pull/123)] 添加二阶段事务接口,以及dubbo集成 | |||
### bugfix: | |||
- [[#130](https://github.com/seata/seata-go/pull/130)] 修复getty session自动关闭的bug | |||
- [[#130](https://github.com/apache/incubator-seata-go/pull/130)] 修复getty session自动关闭的bug | |||
### optimize: | |||
- [[#125](https://github.com/seata/seata-go/pull/125)] 优化resourceManagerApi和tccResource功能 | |||
- [[#125](https://github.com/apache/incubator-seata-go/pull/125)] 优化resourceManagerApi和tccResource功能 | |||
### test: | |||
- [[#xxx](https://github.com/seata/seata-go/pull/xxx)] 添加xxx的单元测试 | |||
- [[#xxx](https://github.com/apache/incubator-seata-go/pull/xxx)] 添加xxx的单元测试 | |||
### contributors: | |||
@@ -1,4 +0,0 @@ | |||
mode: atomic | |||
github.com/seata/seata-go/pkg/rm/tcc/tcc_resource.go:20.51,22.2 1 0 | |||
github.com/seata/seata-go/pkg/rm/tcc/tcc_resource.go:24.46,26.2 1 0 | |||
github.com/seata/seata-go/pkg/rm/tcc/tcc_resource.go:28.56,30.2 1 0 |
@@ -1,4 +1,4 @@ | |||
module github.com/seata/seata-go | |||
module seata.apache.org/seata-go | |||
go 1.20 | |||
@@ -17,7 +17,7 @@ | |||
# format go imports style | |||
go install golang.org/x/tools/cmd/goimports | |||
goimports -local github.com/seata/seata-go -w . | |||
goimports -local seata.apache.org/seata-go -w . | |||
# format licence style | |||
go install github.com/apache/skywalking-eyes/cmd/license-eye@latest | |||
@@ -36,11 +36,11 @@ echo "github pull request base branch -> $3" | |||
echo "github pull request head branch -> ${GITHUB_HEAD_REF}" | |||
echo "use seata-go-samples $3 branch for integration testing" | |||
git clone https://github.com/seata/seata-go-samples samples && cd samples | |||
git clone https://github.com/apache/incubator-seata-go-samples samples && cd samples | |||
# update seata-go to current commit id | |||
go mod edit -replace=github.com/seata/seata-go=github.com/"$1"@"$2" | |||
go mod edit -replace=seata.apache.org/seata-go=github.com/"$1"@"$2" | |||
go mod tidy | |||
@@ -33,7 +33,7 @@ LICENSE_DIR = /tmp/tools/license | |||
# format import code | |||
format-import: | |||
go get -d github.com/dubbogo/tools/cmd/imports-formatter | |||
imports-formatter -path . -module github.com/seata/seata-go -bl false | |||
imports-formatter -path . -module seata.apache.org/seata-go -bl false | |||
unit-test: | |||
go test ./pkg/... -coverprofile=coverage.txt -covermode=atomic | |||
@@ -20,18 +20,18 @@ package client | |||
import ( | |||
"sync" | |||
"github.com/seata/seata-go/pkg/datasource" | |||
at "github.com/seata/seata-go/pkg/datasource/sql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec/config" | |||
"github.com/seata/seata-go/pkg/discovery" | |||
"github.com/seata/seata-go/pkg/integration" | |||
remoteConfig "github.com/seata/seata-go/pkg/remoting/config" | |||
"github.com/seata/seata-go/pkg/remoting/getty" | |||
"github.com/seata/seata-go/pkg/remoting/processor/client" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"github.com/seata/seata-go/pkg/rm/tcc" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource" | |||
at "seata.apache.org/seata-go/pkg/datasource/sql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec/config" | |||
"seata.apache.org/seata-go/pkg/discovery" | |||
"seata.apache.org/seata-go/pkg/integration" | |||
remoteConfig "seata.apache.org/seata-go/pkg/remoting/config" | |||
"seata.apache.org/seata-go/pkg/remoting/getty" | |||
"seata.apache.org/seata-go/pkg/remoting/processor/client" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/rm/tcc" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
// Init seata client client | |||
@@ -32,15 +32,15 @@ import ( | |||
"github.com/knadh/koanf/parsers/yaml" | |||
"github.com/knadh/koanf/providers/rawbytes" | |||
"github.com/seata/seata-go/pkg/discovery" | |||
"github.com/seata/seata-go/pkg/datasource/sql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
remoteConfig "github.com/seata/seata-go/pkg/remoting/config" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"github.com/seata/seata-go/pkg/rm/tcc" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"github.com/seata/seata-go/pkg/util/flagext" | |||
"seata.apache.org/seata-go/pkg/discovery" | |||
"seata.apache.org/seata-go/pkg/datasource/sql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
remoteConfig "seata.apache.org/seata-go/pkg/remoting/config" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/rm/tcc" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/util/flagext" | |||
) | |||
const ( | |||
@@ -22,7 +22,7 @@ import ( | |||
"compress/flate" | |||
"io" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type DeflateCompress struct{} | |||
@@ -18,7 +18,7 @@ | |||
package datasource | |||
import ( | |||
"github.com/seata/seata-go/pkg/datasource/sql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql" | |||
) | |||
func Init() { | |||
@@ -22,16 +22,16 @@ import ( | |||
"flag" | |||
"time" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
"github.com/prometheus/client_golang/prometheus" | |||
"github.com/prometheus/client_golang/prometheus/promauto" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/util/fanout" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/util/fanout" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type phaseTwoContext struct { | |||
@@ -25,12 +25,12 @@ import ( | |||
"github.com/prometheus/client_golang/prometheus" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/rm" | |||
serr "github.com/seata/seata-go/pkg/util/errors" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
serr "seata.apache.org/seata-go/pkg/util/errors" | |||
) | |||
func InitAT(cfg undo.Config, asyncCfg AsyncWorkerConfig) { | |||
@@ -21,9 +21,9 @@ import ( | |||
"context" | |||
"database/sql/driver" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
) | |||
// Conn is a connection to a database. It is not used concurrently | |||
@@ -22,10 +22,10 @@ import ( | |||
gosql "database/sql" | |||
"database/sql/driver" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
// ATConn Database connection proxy object under XA transaction model | |||
@@ -28,11 +28,11 @@ import ( | |||
"github.com/google/uuid" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/mock" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/mock" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
) | |||
func TestMain(m *testing.M) { | |||
@@ -25,10 +25,10 @@ import ( | |||
"fmt" | |||
"time" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/xa" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/xa" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
var xaConnTimeout time.Duration | |||
@@ -31,11 +31,11 @@ import ( | |||
"github.com/google/uuid" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/mock" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/mock" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
) | |||
type mysqlMockRows struct { | |||
@@ -24,7 +24,7 @@ import ( | |||
"github.com/go-sql-driver/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
type seataATConnector struct { | |||
@@ -27,10 +27,10 @@ import ( | |||
"github.com/golang/mock/gomock" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/mock" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/util/reflectx" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/mock" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/util/reflectx" | |||
) | |||
type initConnectorFunc func(t *testing.T, ctrl *gomock.Controller) driver.Connector | |||
@@ -24,7 +24,7 @@ import ( | |||
"sync" | |||
"time" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
type ( | |||
@@ -23,9 +23,9 @@ import ( | |||
"fmt" | |||
"sync" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
) | |||
var ( | |||
@@ -24,8 +24,8 @@ import ( | |||
"sync" | |||
"time" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource/base" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource/base" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
var ( | |||
@@ -25,8 +25,8 @@ import ( | |||
"github.com/pkg/errors" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/executor" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/executor" | |||
) | |||
type mysqlTrigger struct { | |||
@@ -24,13 +24,13 @@ import ( | |||
"fmt" | |||
"sync" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/datasource/sql/xa" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/xa" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type dbOption func(db *DBResource) | |||
@@ -29,12 +29,12 @@ import ( | |||
"github.com/go-sql-driver/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
mysql2 "github.com/seata/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
mysql2 "seata.apache.org/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
const ( | |||
@@ -24,14 +24,14 @@ import ( | |||
"reflect" | |||
"testing" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
"github.com/golang/mock/gomock" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/mock" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/util/reflectx" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/mock" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/util/reflectx" | |||
) | |||
func initMockResourceManager(branchType branch.BranchType, ctrl *gomock.Controller) *mock.MockDataSourceManager { | |||
@@ -20,11 +20,11 @@ package at | |||
import ( | |||
"context" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
) | |||
func Init() { | |||
@@ -29,10 +29,10 @@ import ( | |||
"github.com/arana-db/parser/test_driver" | |||
gxsort "github.com/dubbogo/gost/sort" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/reflectx" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/reflectx" | |||
) | |||
type baseExecutor struct { | |||
@@ -17,6 +17,6 @@ | |||
package at | |||
import "github.com/seata/seata-go/pkg/rm" | |||
import "seata.apache.org/seata-go/pkg/rm" | |||
var LockConfig rm.LockConfig |
@@ -25,13 +25,13 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
// deleteExecutor execute delete SQL | |||
@@ -23,10 +23,10 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
) | |||
func TestNewDeleteExecutor(t *testing.T) { | |||
@@ -21,8 +21,8 @@ import ( | |||
"database/sql" | |||
"strings" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
) | |||
const ( | |||
@@ -21,7 +21,7 @@ import ( | |||
"log" | |||
"testing" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"github.com/stretchr/testify/assert" | |||
) | |||
@@ -25,11 +25,11 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
const ( | |||
@@ -29,12 +29,12 @@ import ( | |||
"github.com/arana-db/parser/test_driver" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
) | |||
func TestBuildSelectSQLByInsert(t *testing.T) { | |||
@@ -25,11 +25,11 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
// insertOnUpdateExecutor execute insert on update SQL | |||
@@ -23,9 +23,9 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
) | |||
func TestInsertOnUpdateBeforeImageSQL(t *testing.T) { | |||
@@ -26,11 +26,11 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type multiDeleteExecutor struct { | |||
@@ -23,11 +23,11 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
func Test_multiDeleteExecutor_buildBeforeImageSQL(t *testing.T) { | |||
@@ -21,9 +21,9 @@ import ( | |||
"context" | |||
"fmt" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type multiExecutor struct { | |||
@@ -29,13 +29,13 @@ import ( | |||
"github.com/arana-db/parser/model" | |||
"github.com/pkg/errors" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
// multiUpdateExecutor execute multiple update SQL | |||
@@ -23,13 +23,13 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
) | |||
func TestBuildSelectSQLByMultiUpdate(t *testing.T) { | |||
@@ -20,8 +20,8 @@ package at | |||
import ( | |||
"context" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
type plainExecutor struct { | |||
@@ -26,9 +26,9 @@ import ( | |||
"github.com/DATA-DOG/go-sqlmock" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/mock" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/mock" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
func TestNewPlainExecutor(t *testing.T) { | |||
@@ -27,21 +27,21 @@ import ( | |||
"reflect" | |||
"time" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
"github.com/arana-db/parser/model" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"github.com/seata/seata-go/pkg/util/backoff" | |||
seatabytes "github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/util/backoff" | |||
seatabytes "seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
var ( | |||
@@ -24,8 +24,8 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
var ( | |||
@@ -27,13 +27,13 @@ import ( | |||
"github.com/arana-db/parser/format" | |||
"github.com/arana-db/parser/model" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
var ( | |||
@@ -26,14 +26,14 @@ import ( | |||
"github.com/agiledragon/gomonkey/v2" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
_ "github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
_ "seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
func TestBuildSelectSQLByUpdate(t *testing.T) { | |||
@@ -18,8 +18,8 @@ | |||
package config | |||
import ( | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec/at" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec/at" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
) | |||
func Init(config rm.LockConfig) { | |||
@@ -21,8 +21,8 @@ import ( | |||
"context" | |||
"database/sql/driver" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
var ( | |||
@@ -20,7 +20,7 @@ package exec | |||
import ( | |||
"context" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
var ( | |||
@@ -25,19 +25,19 @@ import ( | |||
"io" | |||
"time" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
"github.com/arana-db/parser/model" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/builder" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/rm" | |||
seatabytes "github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/builder" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
seatabytes "seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
const ( | |||
@@ -20,12 +20,12 @@ package hook | |||
import ( | |||
"context" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"go.uber.org/zap" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
func NewLoggerSQLHook() exec.SQLHook { | |||
@@ -20,11 +20,11 @@ package hook | |||
import ( | |||
"context" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/tm" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/tm" | |||
) | |||
func NewUndoLogSQLHook() exec.SQLHook { | |||
@@ -29,10 +29,10 @@ import ( | |||
gomock "github.com/golang/mock/gomock" | |||
datasource "github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
types "github.com/seata/seata-go/pkg/datasource/sql/types" | |||
branch "github.com/seata/seata-go/pkg/protocol/branch" | |||
rm "github.com/seata/seata-go/pkg/rm" | |||
datasource "seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
types "seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
branch "seata.apache.org/seata-go/pkg/protocol/branch" | |||
rm "seata.apache.org/seata-go/pkg/rm" | |||
) | |||
// MockDataSourceManager is a mock of DataSourceManager interface. | |||
@@ -24,11 +24,11 @@ import ( | |||
aparser "github.com/arana-db/parser" | |||
"github.com/arana-db/parser/format" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
_ "github.com/arana-db/parser/test_driver" | |||
) | |||
@@ -21,7 +21,7 @@ import ( | |||
aparser "github.com/arana-db/parser" | |||
"github.com/arana-db/parser/ast" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
func DoParser(query string) (*types.ParseContext, error) { | |||
@@ -18,13 +18,13 @@ | |||
package sql | |||
import ( | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec/at" | |||
"github.com/seata/seata-go/pkg/datasource/sql/hook" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/builder" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/mysql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec/at" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/hook" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/builder" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/mysql" | |||
) | |||
func Init() { | |||
@@ -21,9 +21,9 @@ import ( | |||
"context" | |||
"database/sql/driver" | |||
"github.com/seata/seata-go/pkg/datasource/sql/exec" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/util" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/exec" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/util" | |||
) | |||
type Stmt struct { | |||
@@ -24,12 +24,12 @@ import ( | |||
"sync" | |||
"time" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"github.com/seata/seata-go/pkg/rm" | |||
"github.com/seata/seata-go/pkg/util/backoff" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/rm" | |||
"seata.apache.org/seata-go/pkg/util/backoff" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
var ( | |||
@@ -20,7 +20,7 @@ package sql | |||
import ( | |||
"github.com/pkg/errors" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
) | |||
// ATTx | |||
@@ -23,7 +23,7 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
seatabytes "github.com/seata/seata-go/pkg/util/bytes" | |||
seatabytes "seata.apache.org/seata-go/pkg/util/bytes" | |||
) | |||
type ExecutorType int32 | |||
@@ -24,7 +24,7 @@ import ( | |||
"github.com/google/uuid" | |||
"github.com/seata/seata-go/pkg/protocol/branch" | |||
"seata.apache.org/seata-go/pkg/protocol/branch" | |||
) | |||
type DBType int16 | |||
@@ -29,14 +29,14 @@ import ( | |||
"github.com/arana-db/parser/mysql" | |||
"github.com/seata/seata-go/pkg/compressor" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/factor" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/parser" | |||
"github.com/seata/seata-go/pkg/util/collection" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/compressor" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/factor" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/parser" | |||
"seata.apache.org/seata-go/pkg/util/collection" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
const ( | |||
@@ -29,7 +29,7 @@ import ( | |||
"github.com/arana-db/parser/test_driver" | |||
gxsort "github.com/dubbogo/gost/sort" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
// todo the executor should be stateful | |||
@@ -22,7 +22,7 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
func TestBuildWhereConditionByPKs(t *testing.T) { | |||
@@ -22,16 +22,16 @@ import ( | |||
"database/sql/driver" | |||
"fmt" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type MySQLDeleteUndoLogBuilder struct { | |||
@@ -21,7 +21,7 @@ import ( | |||
"database/sql/driver" | |||
"testing" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
"github.com/stretchr/testify/assert" | |||
) | |||
@@ -25,10 +25,10 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/executor" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/executor" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
const ( | |||
@@ -22,7 +22,7 @@ import ( | |||
"database/sql/driver" | |||
"testing" | |||
_ "github.com/seata/seata-go/pkg/util/log" | |||
_ "seata.apache.org/seata-go/pkg/util/log" | |||
"github.com/arana-db/parser/test_driver" | |||
@@ -32,9 +32,9 @@ import ( | |||
"github.com/DATA-DOG/go-sqlmock" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/mock" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/mock" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
func TestBuildSelectSQLByInsert(t *testing.T) { | |||
@@ -25,10 +25,10 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo/executor" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo/executor" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type MySQLInsertOnDuplicateUndoLogBuilder struct { | |||
@@ -25,8 +25,8 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
) | |||
func TestInsertOnDuplicateBuildBeforeImageSQL(t *testing.T) { | |||
@@ -26,10 +26,10 @@ import ( | |||
"github.com/arana-db/parser/ast" | |||
"github.com/arana-db/parser/format" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
type multiDelete struct { | |||
@@ -20,8 +20,8 @@ package builder | |||
import ( | |||
"context" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
) | |||
type MySQLMultiUndoLogBuilder struct { | |||
@@ -28,10 +28,10 @@ import ( | |||
"github.com/arana-db/parser/format" | |||
"github.com/pkg/errors" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
//func init() { | |||
@@ -25,8 +25,8 @@ import ( | |||
_ "github.com/arana-db/parser/test_driver" | |||
"github.com/stretchr/testify/assert" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
_ "github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
_ "seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
func TestBuildSelectSQLByMultiUpdate(t *testing.T) { | |||
@@ -27,12 +27,12 @@ import ( | |||
"github.com/arana-db/parser/format" | |||
"github.com/arana-db/parser/model" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/util/bytes" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/util/bytes" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
const ( | |||
@@ -25,17 +25,17 @@ import ( | |||
"github.com/agiledragon/gomonkey/v2" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource/mysql" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/parser" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/parser" | |||
_ "github.com/arana-db/parser/test_driver" | |||
"github.com/stretchr/testify/assert" | |||
_ "github.com/seata/seata-go/pkg/util/log" | |||
_ "seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
func TestBuildSelectSQLByUpdate(t *testing.T) { | |||
@@ -20,7 +20,7 @@ package undo | |||
import ( | |||
"flag" | |||
"github.com/seata/seata-go/pkg/compressor" | |||
"seata.apache.org/seata-go/pkg/compressor" | |||
) | |||
var ( | |||
@@ -26,10 +26,10 @@ import ( | |||
"github.com/goccy/go-json" | |||
"github.com/seata/seata-go/pkg/datasource/sql/datasource" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"github.com/seata/seata-go/pkg/util/log" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/datasource" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/util/log" | |||
) | |||
var _ undo.UndoExecutor = (*BaseExecutor)(nil) | |||
@@ -23,8 +23,8 @@ import ( | |||
"fmt" | |||
"strings" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
) | |||
type mySQLUndoDeleteExecutor struct { | |||
@@ -18,7 +18,7 @@ | |||
package executor | |||
import ( | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
) | |||
type MySQLUndoExecutorHolder struct { | |||
@@ -22,8 +22,8 @@ import ( | |||
"database/sql" | |||
"fmt" | |||
"github.com/seata/seata-go/pkg/datasource/sql/types" | |||
"github.com/seata/seata-go/pkg/datasource/sql/undo" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/types" | |||
"seata.apache.org/seata-go/pkg/datasource/sql/undo" | |||
) | |||
type mySQLUndoInsertExecutor struct { | |||