hmily icon indicating copy to clipboard operation
hmily copied to clipboard

Distributed transaction solutions

Results 55 hmily issues
Sort by recently updated
recently updated
newest added

Make sure that: - [ ] You have read the [contribution guidelines](https://dromara.org/projects/hmily/contributor/). - [ ] You submit test cases (unit or integration tests) that back your changes. - [ ]...

HmilyFeignInterceptor在对事务信息转为json 设置到 请求头里面时json串因为没有UrlEncode被当成模板解析了,导致后面的服务再接收时,json串缺失数据了。 https://github.com/spring-cloud/spring-cloud-openfeign/issues/711

服务实现端一直报如下错误: com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Expected ':' at line 1 column 49 path $.participantId

![image](https://user-images.githubusercontent.com/28212348/170638171-7fbc67f6-2a2e-4698-a2c3-6d05cdbff11e.png) 当我发现我直接调试事务的任意参与方,得到的Executor对象为null?而只有在事务发起方的时候,才不是null,是不是bug?

## Question 1. 关于幂等看了 历史 issure, 结合tcc代码,目前框架中应该是没有做幂等处理,然后定时恢复任务有用 lock 函数,但看了 redis 的实现感觉无法做到幂等,所以想跟大佬们确认下幂等的问题应该是要业务上自己处理对吧? 2. 假如 try 函数执行成功了,但是更新 trying 状态的时候down了,这个时候貌似走不到恢复(pre_try 会跳过),定时任务会清理 trans, 不会走 cancel,但是这个场景应该走 cancel, 请问大佬们这个极端场景问题是否存在?

HystrixCommandExecutionHook commandExecutionHook = HystrixPlugins.getInstance().getCommandExecutionHook(); 应在 HystrixPlugins.reset(); 重置前 获取当前变量,否则 显示已注册

## Describe the bug ## Environment - hmily version(s): [e.g. 2.1.2-SNAPSHOT] ## Steps to reproduce ## Expected behavior ## Debug logs Click to expand ``` replace this line with your...

__ __ _ __ / / / /___ ___ (_) /_ __ / /_/ / __ `__ \/ / / / / / / __ / / / / /...

官方代码 hmily-demo-**springcloud** ,**版本2.1.1** rpc嵌套调用异常,**cancel方法未执行** @PostMapping(value = "/orderPayWithNestedException") @ApiOperation(value = "订单支付接口(里模拟的是rpc的嵌套调用 order--> account--> inventory, inventory异常情况") public String orderPayWithNestedException(@RequestParam(value = "count") Integer count, @RequestParam(value = "amount") BigDecimal amount) { return orderService.orderPayWithNestedException(count, amount);...