funkye
funkye
### Ⅰ. Describe what this PR did SQL Server 2019 version above supported 创建xa事务的账户必须拥有对应库的SqlJDBCXAUser权限 sa账号无法添加该权限,所以需要新建其它账号 开启对应数据库的xa开关 (master库必须要执行) use xxx库 EXEC sp_sqljdbc_xa_install ### Ⅱ. Does this pull request fix one issue?...
- [ ] I have registered the PR [changes](https://github.com/seata/seata/tree/develop/changes). ### Ⅰ. Describe what this PR did 单独一个专门按照timeout和begin时间查询的函数,db上暂不实现,因为问题不影响 redis上冗余sorted set 值为begintime+timeout时间戳,key为globalsession的hash key 定时任务查询status为begin时按照timeout进行排序,获取当前时间戳之前的事务(如果有说明这些事务已经超时了),拿到超时事务的列表后,直接读取value(globalkey),直接hgetall拿出事务信息即可 当事务状态变更时,就可以直接zrem删除该事务,无需等到事务remove才进行zrem 通过ZRANGE 后,就会根据过期时间最近的100条来排序筛选,得到对应的globalsession hashkey后就知道是哪些globalsession要过期了 SEATA_BEGIN_TRANSACTIONS 数据结构为: 1) "SEATA_GLOBAL_39367520920338432"...
## Why you need it? Is your feature request related to a problem? Please describe in details 我们需要将Seata自身发出的相关sql打上特定标签,并且保证其能落到binlog,在应用侧出现数据问题时可以很好的与Seata自身的sql做出区分 Server端和Seata-AT模式的sql都需要打上标签 We need to tag related SQL from SEATA itself and make...
- [ ] I have registered the PR [changes](https://github.com/seata/seata/tree/develop/changes). ### Ⅰ. Describe what this PR did 1.update count大于 before size时,抛出异常 2.当update的where条件中没有主键时,后镜像采用前镜像方式制作,且进行对比前后镜像查询的行数结果 ### Ⅱ. Does this pull request fix one issue?...
- [ ] I have registered the PR [changes](https://github.com/seata/seata/tree/develop/changes). ### Ⅰ. Describe what this PR did 开启跳过锁检查/前镜像为空时首次注册跳过锁检查 当前pr 1rm 2tc redis mode 对同一件商品进行扣库存并发50 2000次下单请求  1.5.1测试结果  当没有锁重入,且事务基本上决议为提交时,redis模式下提升50%的平均rt表现 1.5.1 并发改为32...
- [ ] I have registered the PR [changes](https://github.com/seata/seata/tree/develop/changes). ### Ⅰ. Describe what this PR did byte-buddy替换cglib ### Ⅱ. Does this pull request fix one issue? fixes #4123 fixes #4663...
### Ⅰ. 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: ```...
- [ ] I have registered the PR [changes](https://github.com/seata/seata/tree/develop/changes). ### Ⅰ. Describe what this PR did 1.先update 2.影响行数大于0时,通过新的connection依靠事务之间的隔离机制,使用普通的select来查询update前的行数据即可,且无需for update 3.后镜像由于先update,也已经持有了本地锁,且与update用的是同个connection,所以数据是准确的 ### Ⅱ. Does this pull request fix one issue? ###...
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @3aefe5e5 at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354) at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297) at java.base/java.lang.reflect.Method.checkCanSetAccessible(Method.java:199) at...
梳理出不可使用的samples,并提pr将其移除,提交至1.4.2分支,之后我们将重新在1.4.2分支上查漏补缺新的sample 提交移除sample pr时需要明确指出不可运行的原因