You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@seata.apache.org by "Code-Fight (via GitHub)" <gi...@apache.org> on 2025/06/23 13:44:29 UTC

[D] 20250621 [incubator-seata-go]

GitHub user Code-Fight created a discussion: 20250621


# **Issue** 跟进

| 功能描述                                                     | Issue                                                        | PR                                                           | 优先级 | 进展                          | Owner      | reviewer   |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------ | ----------------------------- | ---------- | ---------- |
| fix: Solve the conflict problem of introducing multiple versions of knadh | [825](https://github.com/apache/incubator-seata-go/issues/825) | [834](https://github.com/apache/incubator-seata-go/pull/834) |        | 待CR                          | 吴孝宇     | 张锋,李浩 |
| Fix the integration test action                              | [830](https://github.com/apache/incubator-seata-go/issues/830) | [835](https://github.com/apache/incubator-seata-go/pull/835) |        |                               | 宗磊       |            |
| need to find a github action alternative to mirromutth/mysql-action | [814](https://github.com/apache/incubator-seata-go/issues/814) | [839](https://github.com/apache/incubator-seata-go/pull/839) |        | 待CR                          | 张锋,李浩 | 李浩,晓峰 |
| A build workflow is missing                                  | [63](https://github.com/apache/incubator-seata-go-samples/issues/63) |                                                              |        | 补充其他action                | 张锋       |            |
| codecov action support                                       | [832](https://github.com/apache/incubator-seata-go/issues/832) | [839](https://github.com/apache/incubator-seata-go/pull/839) | P0     | 待CR                          | 张锋       | 李浩,晓峰 |
| Consider removing easyjson dependency due to sanction concerns | [12](https://github.com/apache/incubator-seata-ctl/issues/12) |                                                              | P0     | 评估保留和去除es sdk的 必要性 | 张锋       |            |
| [k8s]示例中使用的还是老的镜像仓库                            | [30](https://github.com/apache/incubator-seata-k8s/issues/30) |                                                              |        |                               |            |            |
| [k8s]Add UTs to test functionalities                         | [18](https://github.com/apache/incubator-seata-k8s/issues/18) |                                                              |        |                               | 风轮       |            |

# Go-Java对齐 专项工作

| 功能描述                                                     | Issue                                                        | 优先级 | PR                                                           | 进展 | Owner | reviewer         |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------ | ------------------------------------------------------------ | ---- | ----- | ---------------- |
| [seata-java] bugfix: error image when use null value as image query condition in insert on duplicate [#704](https://github.com/apache/incubator-seata-go/issues/704) | [#704](https://github.com/apache/incubator-seata-go/issues/704) | P1     |                                                              |      | 晓峰  | 月财,张锋       |
| [seata-java] Unexpected transaction rollback [#705](https://github.com/apache/incubator-seata-go/issues/705) | [#705](https://github.com/apache/incubator-seata-go/issues/705) |        | [828](https://github.com/apache/incubator-seata-go/pull/828) | 已pr | 凤瑞  | 张锋,郭暾,月财 |
| [seata-java] bugfix: rollback active xa connection fail      | [708](https://github.com/apache/incubator-seata-go/issues/708) |        |                                                              |      |       |                  |
| [seata-java] 当插入语句带有ID时候,ID被··包裹后,导致后置镜像有二个ID,造成无法回滚 | [702](https://github.com/apache/incubator-seata-go/issues/702) |        |                                                              |      |       |                  |
|                                                              |                                                              |        |                                                              |      |       |                  |
|                                                              |                                                              |        |                                                              |      |       |                  |
|                                                              |                                                              |        |                                                              |      |       |                  |






# SAGA 专项工作

| 功能描述                                                     | Issue                                                        | 优先级 | PR                                                           | 进展          | Owner      | reviewer |
| ------------------------------------------------------------ | ------------------------------------------------------------ | ------ | ------------------------------------------------------------ | ------------- | ---------- | -------- |
| SAGA 进展和工作梳理                                          | [#689](https://github.com/apache/incubator-seata-go/issues/689) | P0     |                                                              | Merged        |            |          |
| Feature: saga Interface optimization(接口优化)             | [#735](https://github.com/apache/incubator-seata-go/issues/735) |        |                                                              | Merged        | 靖浏       |          |
| Feature: check and fix saga execution process problem(流程串联) | [#733](https://github.com/apache/incubator-seata-go/issues/733) |        |                                                              | 待启动        | 靖浏       |          |
| Feature: Expression support in saga(表达式实现调研&开发、EL 表达式)** | **[#731](https://github.com/apache/incubator-seata-go/issues/731)** |        |                                                              | Merged        | 潘磊、泽亚 |          |
| Feature: HttpServiceTaskState Support                        | [#730](https://github.com/apache/incubator-seata-go/issues/730) |        |                                                              | Merged        | 张锋       |          |
| Feature: Database persistence for seata-go Saga state machine(持久化) | **[#732](https://github.com/apache/incubator-seata-go/issues/732)** |        |                                                              | Merged        | 晓锋、风瑞 |          |
| Saga 配置逻辑复用 TCC 之前已经有的代码                       | [#773](https://github.com/apache/incubator-seata-go/issues/773) |        |                                                              | Merged        | 浩然       |          |
| 初始化,根据用户的配置文件,来加载到配置状态机中              | [#792](https://github.com/apache/incubator-seata-go/issues/792) |        | [#805](https://github.com/apache/incubator-seata-go/pull/805) | 待完成comment | 浩然       |          |
| Feature:Complete Saga StatusDecisionStrategy                | [#803](https://github.com/apache/incubator-seata-go/issues/803) |        |                                                              | Merged        | 刘星岳     |          |
| Decouple the transaction from the statelog                   | [840](https://github.com/apache/incubator-seata-go/issues/840) |        | [841](https://github.com/apache/incubator-seata-go/pull/841) | 待CR          | 晓峰       | 靖浏     |

# 核心工作

seata-go 核心功能开发:

| 功能描述                 | Issue                                                        | PR                                                           | 优先级 | 进展                         | Owner | reviewer   |
| ------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------ | ---------------------------- | ----- | ---------- |
| TCC 支持RocketMQ 模式    | [#765](https://github.com/apache/incubator-seata-go/issues/765) | [#798](https://github.com/apache/incubator-seata-go/pull/798) |        | 待提交sample                 | 郭暾  | 张锋       |
| 重构 AT image 的 builder | [#751](https://github.com/apache/incubator-seata-go/issues/751) | [#784](https://github.com/apache/incubator-seata-go/pull/784) | hold   | 不着急合并,待测试稳定后合并 | 李浩  | 张锋,晓峰 |



# 可观测性

| 功能描述       | Issue | 优先级 | 进展  | Owner |
| ---------- | ----- | --- | --- | ----- |
| Metrics 监控 | 待建立   |     |     |       |
| 日志完善       | 待建立   |     |     |       |



# 文档建设

| 功能描述                  | Issue                                                        | 优先级 | PR   | 进展 | Owner |
| ------------------------- | ------------------------------------------------------------ | ------ | ---- | ---- | ----- |
| Enrich the project ReadMe | [831](https://github.com/apache/incubator-seata-go/issues/831) |        |      |      | 星岳  |



# 测试&Samples

完善 Seata-go 的测试覆盖率,以及 Samples 项目的例子:

| 功能描述                              | Issue                                                        | 优先级 | 进展                                       | Owner        |
| ------------------------------------- | ------------------------------------------------------------ | ------ | ------------------------------------------ | ------------ |
| java 和 go 服务共同组成分布式事务测试 |                                                              |        |                                            |              |
| 集成测试                              |                                                              |        |                                            |              |
| 单测覆盖率                            |                                                              |        |                                            |              |
| 功能压测                              |                                                              |        |                                            |              |
| sample 偶尔会出现问题                 | [#434](https://github.com/apache/incubator-seata-go/issues/434) |        |                                            | 星岳,张锋    |
| 支持test container                    | [#382](https://github.com/apache/incubator-seata-go/issues/382) |        | 可以参考seata-java,继续跟进<br>2025-04-26 | 李浩,宗磊哥 |



# 发版工作

# 长期建设 TODO

梳理seata-go和seata-java里面sample的差异,输出任务并供大家认领 @张锋 @李浩

规划seata-go后续的健壮性完善,以及各类测试体系的完善 @张锋

AT 模式适配其他数据库 (Oracle,SqlServer多数据库下通用的sql 抽象为一份,不同数据库特性需要单独实现execute,参考目前java部分)



后续任务:

AT模式  sql的批量操作需要完善

1. jdk batch update(参考java)
2. 多 sql 分号间隔的 
3. 特殊数据库 mysql insert values(xx,xx),(xx,xx)



AT模式多主键

1. 支持多主键 



Seata-K8s

1. 确认与最新的seata-server 能正常启动和使用
2. Readme 需要修正,确认Usage是否能正常指引用户完成快速启动
3. 确认 https://github.com/apache/incubator-seata/tree/2.x/script/server/ 下[helm/seata-server](https://github.com/apache/incubator-seata/tree/2.x/script/server/helm/seata-server)  和 [kubernetes](https://github.com/apache/incubator-seata/tree/2.x/script/server/kubernetes) 
4. 确认 官网引导文件是否正确  https://seata.apache.org/docs/ops/deploy-by-kubernetes  和 https://seata.apache.org/docs/ops/deploy-by-helm



**seata-java 功能对齐**:@张锋 梳理




# 参与人员列表

|Name|Github ID|Remarks|
|---|---|---|
|郭暾|[**FinnTew**](https://github.com/FinnTew)||
|潘磊|**panlei-coder**||
|方泽亚|**marsevilspirit**||
|李欢欢|[**jay-li-csck**](https://github.com/jay-li-csck)||
|晓锋|lxfeng1997||
|星泽|AsterZephyr||
|xinfan|[**No-SilverBullet**](https://github.com/No-SilverBullet)||
|帅飞|||
|亦夏|wt-better||
|靖浏|xjlgod||
|凤瑞|1kasa||
|泽睿|Similarityoung||
||yangwenbinch||
|孙浩然|flypiggyyoyoyo|seata K8s 提交过PR,使用 go|
|徐硕||Java、熟悉seata java 代码,学习go中,大三实习,可以参与|
|维益||杭州、大四、已经有任务,开发中|
|晓锋|||
||Road2Melon||
|刘星岳||java 大三|
|徐蒙嘉||大三,go,java技术栈   备注:simple|
|渔朗|||
|吴孝宇||大三 ,喜欢开源|
|张鹏飞||微博、字节大佬,数研所(数字货币)|

# 参考资料

[1] Dubbo Go Getty 开发日志

[https://cn.dubbo.apache.org/zh-cn/blog/2021/01/11/dubbo-go-getty-%e5%bc%80%e5%8f%91%e6%97%a5%e5%bf%97/](https://cn.dubbo.apache.org/zh-cn/blog/2021/01/11/dubbo-go-getty-%E5%BC%80%E5%8F%91%E6%97%A5%E5%BF%97/)

[2] dubbo-getty 源码

[https://github.com/apache/dubbo-getty](https://github.com/apache/dubbo-getty)

[3] [golang 服务器实现getty(dubbo-go底层io引擎)实现之架构篇](http://www.guoxiaolong.cn/blog/?id=10885)

[http://www.guoxiaolong.cn/blog/?id=10885](http://www.guoxiaolong.cn/blog/?id=10885)

[4] Apache Dubbo-Getty项目教程

[https://blog.csdn.net/gitblog_00651/article/details/140979111](https://blog.csdn.net/gitblog_00651/article/details/140979111)

[5] dubbo-go-samples 项目

[https://github.com/apache/incubator-seata-go-samples/blob/main/tcc/local/cmd/local.go](https://github.com/apache/incubator-seata-go-samples/blob/main/tcc/local/cmd/local.go)

[6] dubbo-go getty 项目

[https://github.com/apache/dubbo-go/tree/main/remoting/getty](https://github.com/apache/dubbo-go/tree/main/remoting/getty)

_Originally posted by [@luky116](https://github.com/luky116) in [#726](https://github.com/apache/incubator-seata-go/discussions/726)_

[7] Apache 发版流程

[https://github.com/wongoo/apache-release-procedure](https://github.com/wongoo/apache-release-procedure)

GitHub link: https://github.com/apache/incubator-seata-go/discussions/845

----
This is an automatically sent email for dev@seata.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@seata.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@seata.apache.org
For additional commands, e-mail: dev-help@seata.apache.org