incubator-seata icon indicating copy to clipboard operation
incubator-seata copied to clipboard

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.

Results 439 incubator-seata issues
Sort by recently updated
recently updated
newest added

- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate. ### Ⅰ. Issue Description Optimize javadoc warnings ![image](https://user-images.githubusercontent.com/8758457/180391335-582fad13-e974-4e78-9132-4fda1b94d084.png) https://github.com/seata/seata/runs/7464018823?check_suite_focus=true ### Ⅱ....

status: help-wanted

# 场景描述 RM二阶段发生异常时,TC是会进行不断的重试。直到成功为止 那么,问题就来了。一直重试虽然在一定程度上可能成功,但大部分情况下一直重试是不会成功的 这个时候,是需要作出一定的告警措施,比如发邮件,发钉钉之类的 比较幸运的是,seata提供了SPI,这样可以比较方便的实现。经过一番研究尝试,终于找到比较好的实现方式。如下,enjoy! # Step One > 注入自己实现的SPI 新建文件: src/main/resources/META-INF/services/io.seata.core.model.ResourceManager 文件内容如下。注意,是实现类的全路径来的,不懂SPI机制可先自行谷歌 ``` com.xxx.MyTCCResourceManager ``` # Step Two com.xxx.MyTCCResourceManager类代码。大部分抄官方的io.seata.rm.tcc.TCCResourceManager代码即可,这里只列出关键代码 ``` @Override public BranchStatus branchCommit(BranchType branchType, String xid, long...

使用application.yml配置registry, 报io.seata.common.exception.NotSupportYetException: config type can not be null 不想使用registry.conf文件和file.conf文件配置seata,直接在application.yml配置seata连接nacos的注册中心和配置中心。 但是好像不生效 Excetion stack: Connected to the target VM, address: '127.0.0.1:2884', transport: 'socket' 2020-07-31 21:42:35.554 INFO 21192 --- [ main] trationDelegate$BeanPostProcessorChecker :...

当insert语句中有nvl(?,'1')函数时,该"?"不会被当成占位符,这样会导致计算主键的idx不准确 - JDK version :1.8 - Seata version: 1.5.1

status: help-wanted

- [ ] I have registered the PR [changes](https://github.com/seata/seata/tree/develop/changes). ### Ⅰ. Describe what this PR did 解决获取all session时 因为limit导致数据不全,而可能导致不能及时处理超时session的问题。 目前的思路有几个,但是各有各问题,想在这里跟大家讨论一下。 1. 单独编写readTimeoutSession方法,用类似分页的方式循环往下获取,并筛选过期的session,直至数量达到logQueryLimit。(参考现在提交的RedisTransactionStoreManager) 这样的问题是:多次获取的过程中,session也在变化,这样分页依然会有数据会查不到 2. 单独编写readTimeoutSession方法,如果过期的session不达到logQueryLimit但还有很多session没被查出来(也就是issue提到的情况),就等待10ms再获取一遍,就这样重试5次。(参考现在提交的DataBaseTransactionStoreManager) 这样的问题是:就这样等10ms有点暴力,而且这样等了之后下次查询的结果还不一定有多少变化。 3. 改写readSession(GlobalStatus[] statuses, boolean...

## 描述 seata控制台功能,是1.5版本后的重大特性功能,这是为用户展示事务信息,锁信息,及后续手动处理异常事务的管理入口。目前seata控制台逻辑和server耦合在一个模块中,需要将console模块独立出来。server 模块和 console 模块通过 openAPI 进行通信交互和数据获取。 ## 产出要求 1. seata console模块与 server服务端从代码架构层面分离,支持独立部署 2. console通过http方式与server端交互数据 3. 考虑权限安全问题 4. 提供接口文档 ## 导师 @lightClouds917 ## Description The function of console is...

### Ⅰ. Describe what this PR did 配套源码解析博客: https://blog.funkye.icu/2022/05/02/seata-raft-new/ 测试报告: 对单条数据进行扣库存下订单 60秒 100并发压测 3tc 1consumer 2 provider AT 模式 mysql redis tc 微服务等皆为本地docker启动 i5 8300 24g内存 ssd windows11 db: ```...

type: feature
module/core
module/server
TC/store
module/serializer
theme: HA

### Ⅰ. Describe what this PR did Support Spring boot actuator(Only support check database connection yet) Check Url: http://localhost:7091/actuator/health (need authentication) ![image](https://user-images.githubusercontent.com/4516752/176818851-e37be230-738b-42d6-9b70-b2961b9093a6.png) ### Ⅱ. Does this pull request fix one...

type: feature
module/server

- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate. ### Ⅰ. Issue Description ### Ⅱ. Describe what happened If there...

- [ ] I have searched the [issues](https://github.com/seata/seata/issues) of this repository and believe that this is not a duplicate. ### Ⅰ. Issue Description SpringBootConfigurationProvider#get(dataId) 里面 获取 ConfigConsulProperties.class 这个bean 的时候卡住一段时间,大概有30秒,导致没有及时获取到consul连接配置,consul客户端没有及时完成初始化,这导致读取consul服务上配置数据超时失败 ###...