byteTCC框架--@Compensable注解问题

阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6


在使用byteTCC框架0.5.0-BETA2版本时,发现一个关于@Compensable注解的问题,这里记录下:

1.@Compensable注解问题

若try的实现逻辑写在serviceImpl中,而不是controller中,那么,@Compensable需要添加在controller中,而不是serviceImpl中。

如果仅仅添加在serviceImpl中,那么confirm或者cancel将不会执行;

如果controller和serviceImpl都添加,那么,confirm或者cancel会执行2遍;

当仅仅添加在servicemImpl中时,场景为A->B,测试日志如下:

A:

2019-02-14 09:22:42.991  INFO 20244 --- [nio-8012-exec-5] o.b.bytejta.TransactionManagerImpl       : f48e38f5d3e1527256ab5f038d63d25f> begin-transaction
2019-02-14 09:22:43.077 WARN 20244 --- [nio-8012-exec-5] o.b.b.s.s.CompensableMethodInterceptor : Compensable-service public int com.java4all.service.impl.BankServiceImpl.decreaseMoney(java.lang.Integer,java.math.BigDecimal) is participanting in a non-TCC transaction which was created at:
2019-02-14 09:22:43.087 INFO 20244 --- [nio-8012-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab5f038d63d25f> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e1527256acd704004a0b85, flags: 0
2019-02-14 09:22:43.113 INFO 20244 --- [nio-8012-exec-5] c.java4all.service.impl.BankServiceImpl : try decreaseMoney: id = 1,money =500
2019-02-14 09:22:43.113 INFO 20244 --- [nio-8012-exec-5] com.java4all.controller.BankController : 修改行数为:1
2019-02-14 09:22:43.113 INFO 20244 --- [nio-8012-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab5f038d63d25f> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e1527256acd704004a0b85, flags= 67108864
2019-02-14 09:22:43.113 INFO 20244 --- [nio-8012-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab5f038d63d25f> commit-transaction start
2019-02-14 09:22:43.132 INFO 20244 --- [nio-8012-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab5f038d63d25f> commit-transaction complete successfully
2019-02-14 09:25:12.360 INFO 20244 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration

B:

2019-02-14 09:22:42.996  INFO 19848 --- [nio-8011-exec-3] o.b.bytejta.TransactionManagerImpl       : f48e38f5d3e1527256ab640337c0975b> begin-transaction
2019-02-14 09:22:42.996 WARN 19848 --- [nio-8011-exec-3] o.b.b.s.s.CompensableMethodInterceptor : Compensable-service public int com.java4all.service.impl.UserServiceImpl.increaseMoney(java.lang.Integer,java.math.BigDecimal) is participanting in a non-TCC transaction which was created at:
2019-02-14 09:22:43.009 INFO 19848 --- [nio-8011-exec-3] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab640337c0975b> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e1527256ac8904925c14de, flags: 0
2019-02-14 09:22:43.048 INFO 19848 --- [nio-8011-exec-3] c.java4all.service.impl.UserServiceImpl : try increaseMoney: id = 1,money =500
2019-02-14 09:22:43.048 INFO 19848 --- [nio-8011-exec-3] c.java4all.service.impl.UserServiceImpl : 修改行数为:1
2019-02-14 09:22:43.048 INFO 19848 --- [nio-8011-exec-3] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab640337c0975b> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e1527256ac8904925c14de, flags= 67108864
2019-02-14 09:22:43.048 INFO 19848 --- [nio-8011-exec-3] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab640337c0975b> commit-transaction start
2019-02-14 09:22:43.074 INFO 19848 --- [nio-8011-exec-3] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e1527256ab640337c0975b> commit-transaction complete successfully
2019-02-14 09:25:04.599 INFO 19848 --- [trap-executor-0] c.n.d.s.r.aws.ConfigClusterResolver : Resolving eureka endpoints via configuration

如果controller和serviceImpl都添加,场景为A->B,测试日志如下:

B:

2019-02-14 09:30:47.568  INFO 19844 --- [nio-8011-exec-2] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-02-14 09:30:47.569 INFO 19844 --- [nio-8011-exec-2] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-02-14 09:30:47.587 INFO 19844 --- [nio-8011-exec-2] o.s.web.servlet.DispatcherServlet : Completed initialization in 18 ms
2019-02-14 09:30:47.854 INFO 19844 --- [nio-8011-exec-2] o.b.bytetcc.CompensableCoordinator : f48e38f5d3e152725ebb4901182f54d2| compensable transaction begin!
2019-02-14 09:30:47.892 INFO 19844 --- [nio-8011-exec-2] o.b.bytejta.TransactionCoordinator : f48e38f5d3e152725ebff8016ada5b63> begin-participant
2019-02-14 09:30:47.893 INFO 19844 --- [nio-8011-exec-2] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| register compensable service: f48e38f5d3e152725ebb4901182f54d2.
2019-02-14 09:30:47.896 INFO 19844 --- [nio-8011-exec-2] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| register compensable service: f48e38f5d3e152725ebb4901182f54d2.
2019-02-14 09:30:48.334 INFO 19844 --- [nio-8011-exec-2] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1ce0435200b26, flags: 0
2019-02-14 09:30:48.390 INFO 19844 --- [nio-8011-exec-2] c.java4all.service.impl.UserServiceImpl : try increaseMoney: id = 1,money =500
2019-02-14 09:30:48.390 INFO 19844 --- [nio-8011-exec-2] c.java4all.service.impl.UserServiceImpl : 修改行数为:1
2019-02-14 09:30:48.391 INFO 19844 --- [nio-8011-exec-2] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1ce0435200b26, flags= 67108864
2019-02-14 09:30:48.410 INFO 19844 --- [nio-8011-exec-2] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> commit-participant start
2019-02-14 09:30:48.441 INFO 19844 --- [nio-8011-exec-2] o.b.bytejta.resource.XATerminatorOptd : f48e38f5d3e152725ebff8016ada5b63> commit: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1ce0435200b26, opc= false
2019-02-14 09:30:48.441 INFO 19844 --- [nio-8011-exec-2] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| try: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebff8016ada5b63-f48e38f5d3e152725ec1ce0435200b26.
2019-02-14 09:30:48.441 INFO 19844 --- [nio-8011-exec-2] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| try: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebff8016ada5b63-f48e38f5d3e152725ec1ce0435200b26.
2019-02-14 09:30:48.442 INFO 19844 --- [nio-8011-exec-2] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> commit-participant complete successfully
2019-02-14 09:30:49.851 INFO 19844 --- [nio-8011-exec-5] o.b.bytejta.TransactionCoordinator : f48e38f5d3e152725ec7d307333691ce> begin-participant
2019-02-14 09:30:49.868 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1de06c15159df, flags: 0
2019-02-14 09:30:49.912 INFO 19844 --- [nio-8011-exec-5] c.j.service.impl.UserServiceConfirm : confirm increaseMoney: id = 1,money =500
2019-02-14 09:30:49.912 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1de06c15159df, flags= 67108864
2019-02-14 09:30:49.927 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec7d307333691ce> commit-participant start
2019-02-14 09:30:49.958 INFO 19844 --- [nio-8011-exec-5] o.b.bytejta.resource.XATerminatorOptd : f48e38f5d3e152725ebff8016ada5b63> commit: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1de06c15159df, opc= false
2019-02-14 09:30:49.958 INFO 19844 --- [nio-8011-exec-5] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| confirm: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebff8016ada5b63-f48e38f5d3e152725ec1de06c15159df.
2019-02-14 09:30:49.958 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec7d307333691ce> commit-participant complete successfully
2019-02-14 09:30:49.958 INFO 19844 --- [nio-8011-exec-5] o.b.bytejta.TransactionCoordinator : f48e38f5d3e152725ec73e085e3b0b6c> begin-participant
2019-02-14 09:30:49.973 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1dd0535eda111, flags: 0
2019-02-14 09:30:50.019 INFO 19844 --- [nio-8011-exec-5] c.j.service.impl.UserServiceConfirm : confirm increaseMoney: id = 1,money =500
2019-02-14 09:30:50.019 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebff8016ada5b63> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1dd0535eda111, flags= 67108864
2019-02-14 09:30:50.033 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec73e085e3b0b6c> commit-participant start
2019-02-14 09:30:50.064 INFO 19844 --- [nio-8011-exec-5] o.b.bytejta.resource.XATerminatorOptd : f48e38f5d3e152725ebff8016ada5b63> commit: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec1dd0535eda111, opc= false
2019-02-14 09:30:50.064 INFO 19844 --- [nio-8011-exec-5] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| confirm: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebff8016ada5b63-f48e38f5d3e152725ec1dd0535eda111.
2019-02-14 09:30:50.064 INFO 19844 --- [nio-8011-exec-5] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec73e085e3b0b6c> commit-participant complete successfully
2019-02-14 09:30:50.065 INFO 19844 --- [nio-8011-exec-5] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| compensable transaction committed!
2019-02-14 09:30:50.066 INFO 19844 --- [nio-8011-exec-5] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| forget transaction.

A:

2019-02-14 09:30:46.872  INFO 18320 --- [nio-8012-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2019-02-14 09:30:46.872 INFO 18320 --- [nio-8012-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2019-02-14 09:30:46.890 INFO 18320 --- [nio-8012-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 18 ms
2019-02-14 09:30:46.974 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableManagerImpl : f48e38f5d3e152725ebb4901182f54d2| compensable transaction begin!
2019-02-14 09:30:46.982 INFO 18320 --- [nio-8012-exec-1] o.b.bytejta.TransactionCoordinator : f48e38f5d3e152725ebb4901182f54d2> begin-participant
2019-02-14 09:30:46.983 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| register compensable service: f48e38f5d3e152725ebb4901182f54d2.
2019-02-14 09:30:47.371 INFO 18320 --- [nio-8012-exec-1] c.n.u.concurrent.ShutdownEnabledTimer : Shutdown hook installed for: NFLoadBalancer-PingTimer-user-server
2019-02-14 09:30:47.371 INFO 18320 --- [nio-8012-exec-1] c.netflix.loadbalancer.BaseLoadBalancer : Client: user-server instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=user-server,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2019-02-14 09:30:47.379 INFO 18320 --- [nio-8012-exec-1] c.n.l.DynamicServerListLoadBalancer : Using serverListUpdater PollingServerListUpdater
2019-02-14 09:30:47.413 INFO 18320 --- [nio-8012-exec-1] c.n.l.DynamicServerListLoadBalancer : DynamicServerListLoadBalancer for client user-server initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=user-server,current list of Servers=[wang:8011],Load balancer stats=Zone stats: {defaultzone=[Zone:defaultzone; Instance count:1; Active connections count: 0; Circuit breaker tripped count: 0; Active connections per server: 0.0;]
},Server stats: [[Server:wang:8011; Zone:defaultZone; Total Requests:0; Successive connection failure:0; Total blackout seconds:0; Last connection made:Thu Jan 01 08:00:00 CST 1970; First connection made: Thu Jan 01 08:00:00 CST 1970; Active Connections:0; total failure count in last (1000) msecs:0; average resp time:0.0; 90 percentile resp time:0.0; 95 percentile resp time:0.0; min resp time:0.0; max resp time:0.0; stddev resp time:0.0]
]}ServerList:org.springframework.cloud.netflix.ribbon.eureka.DomainExtractingServerList@2c5db44f
2019-02-14 09:30:47.482 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| enlist remote resource: 192.168.158.133:USER-SERVER:8011.
2019-02-14 09:30:48.509 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| register compensable service: f48e38f5d3e152725ebb4901182f54d2.
2019-02-14 09:30:49.005 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48505501665e3, flags: 0
2019-02-14 09:30:49.046 INFO 18320 --- [nio-8012-exec-1] c.java4all.service.impl.BankServiceImpl : try decreaseMoney: id = 1,money =500
2019-02-14 09:30:49.047 INFO 18320 --- [nio-8012-exec-1] com.java4all.controller.BankController : 修改行数为:1
2019-02-14 09:30:49.048 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48505501665e3, flags= 67108864
2019-02-14 09:30:49.062 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> commit-participant start
2019-02-14 09:30:49.086 INFO 18320 --- [nio-8012-exec-1] o.b.bytejta.resource.XATerminatorOptd : f48e38f5d3e152725ebb4901182f54d2> commit: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48505501665e3, opc= false
2019-02-14 09:30:49.086 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| try: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebb4901182f54d2-f48e38f5d3e152725ec48505501665e3.
2019-02-14 09:30:49.086 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| try: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebb4901182f54d2-f48e38f5d3e152725ec48505501665e3.
2019-02-14 09:30:49.087 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| try completed.
2019-02-14 09:30:49.087 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> commit-participant complete successfully
2019-02-14 09:30:49.088 INFO 18320 --- [nio-8012-exec-1] o.b.bytejta.TransactionCoordinator : f48e38f5d3e152725ec4d808e98f5f11> begin-participant
2019-02-14 09:30:49.099 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48e0759200503, flags: 0
2019-02-14 09:30:49.125 INFO 18320 --- [nio-8012-exec-1] c.j.service.impl.BankServiceConfirm : confirm decreaseMoney: id = 1,money =500
2019-02-14 09:30:49.125 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48e0759200503, flags= 67108864
2019-02-14 09:30:49.133 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec4d808e98f5f11> commit-participant start
2019-02-14 09:30:49.152 INFO 18320 --- [nio-8012-exec-1] o.b.bytejta.resource.XATerminatorOptd : f48e38f5d3e152725ebb4901182f54d2> commit: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48e0759200503, opc= false
2019-02-14 09:30:49.152 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| confirm: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebb4901182f54d2-f48e38f5d3e152725ec48e0759200503.
2019-02-14 09:30:49.153 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec4d808e98f5f11> commit-participant complete successfully
2019-02-14 09:30:49.153 INFO 18320 --- [nio-8012-exec-1] o.b.bytejta.TransactionCoordinator : f48e38f5d3e152725ec41909bc43a632> begin-participant
2019-02-14 09:30:49.163 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> enlist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48e0603cfa9b7, flags: 0
2019-02-14 09:30:49.189 INFO 18320 --- [nio-8012-exec-1] c.j.service.impl.BankServiceConfirm : confirm decreaseMoney: id = 1,money =500
2019-02-14 09:30:49.189 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ebb4901182f54d2> delist: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48e0603cfa9b7, flags= 67108864
2019-02-14 09:30:49.199 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec41909bc43a632> commit-participant start
2019-02-14 09:30:49.217 INFO 18320 --- [nio-8012-exec-1] o.b.bytejta.resource.XATerminatorOptd : f48e38f5d3e152725ebb4901182f54d2> commit: xares= xa-res-archive[descriptor: local-xa-resource[dataSource]], branch= f48e38f5d3e152725ec48e0603cfa9b7, opc= false
2019-02-14 09:30:49.217 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| confirm: identifier= f48e38f5d3e152725ebb4901182f54d2, resourceKey= dataSource, resourceXid= 1207-f48e38f5d3e152725ebb4901182f54d2-f48e38f5d3e152725ec48e0603cfa9b7.
2019-02-14 09:30:49.217 INFO 18320 --- [nio-8012-exec-1] org.bytesoft.bytejta.TransactionImpl : f48e38f5d3e152725ec41909bc43a632> commit-participant complete successfully
2019-02-14 09:30:49.334 WARN 18320 --- [nio-8012-exec-1] x.MappingJackson2XmlHttpMessageConverter : Failed to evaluate Jackson deserialization for type [[simple type, class void]]: com.fasterxml.jackson.databind.JsonMappingException: Internal error: can't find deserializer for void
2019-02-14 09:30:49.334 WARN 18320 --- [nio-8012-exec-1] .c.j.MappingJackson2HttpMessageConverter : Failed to evaluate Jackson deserialization for type [[simple type, class void]]: com.fasterxml.jackson.databind.JsonMappingException: Internal error: can't find deserializer for void
2019-02-14 09:30:50.086 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| confirm remote branch: 192.168.158.133:USER-SERVER:8011
2019-02-14 09:30:50.087 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| compensable transaction committed!
2019-02-14 09:30:50.089 INFO 18320 --- [nio-8012-exec-1] o.b.bytetcc.CompensableTransactionImpl : f48e38f5d3e152725ebb4901182f54d2| forget transaction.


阿里云国内75折 回扣 微信号:monov8
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6