zm
2020-05-18 a18bfacbf56b401f6e0fdae8710fbca4df8cff77
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
Êþº¾32
I
‘’    “”
    • –—
™š
œ
    ž
Ÿ 
¡
¢    £
¤ ¥¦
¨©
«    ¬­
±²
±³
´µ
´·
´¹
¼½¾ ¿ÀÁ
ÂÃÄ
ÅÆ
Ç ÈÉ ÊË ÊÌ
ÎÏ
ÓÔÕ
Ö
Ø    Ù ÚÛ
Ü ¥Ý    Þ ßà ¥áâã configReader&Lcom/codingapi/tm/config/ConfigReader;RuntimeVisibleAnnotations8Lorg/springframework/beans/factory/annotation/Autowired;redisServerService3Lcom/codingapi/tm/redis/service/RedisServerService;transactionConfirmService9Lcom/codingapi/tm/manager/service/TxManagerSenderService;loadBalanceService5Lcom/codingapi/tm/manager/service/LoadBalanceService;compensateService7Lcom/codingapi/tm/compensate/service/CompensateService;loggerLorg/slf4j/Logger;<init>()VCodeLineNumberTableLocalVariableTablethis<Lcom/codingapi/tm/manager/service/impl/TxManagerServiceImpl;createTransactionGroup:(Ljava/lang/String;)Lcom/codingapi/tm/netty/model/TxGroup;groupIdLjava/lang/String;txGroup&Lcom/codingapi/tm/netty/model/TxGroup;key StackMapTable”addTransactionGroupq(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)Lcom/codingapi/tm/netty/model/TxGroup;taskIdisGroupIchannelAddress    methodStrtxInfo%Lcom/codingapi/tm/netty/model/TxInfo;    modelInfo"Lcom/codingapi/tm/model/ModelInfo;ä©årollbackTransactionGroup(Ljava/lang/String;)ZcleanNotifyTransaction'(Ljava/lang/String;Ljava/lang/String;)IinforeshasSetZisOveræcloseTransactionGroup(Ljava/lang/String;I)Istate dealTxGroup*(Lcom/codingapi/tm/netty/model/TxGroup;Z)VhasOk deleteTxGroup)(Lcom/codingapi/tm/netty/model/TxGroup;)V
getTxGroup getTxGroupKey&(Ljava/lang/String;)Ljava/lang/String;
SourceFileTxManagerServiceImpl.java(Lorg/springframework/stereotype/Service; YZ:com/codingapi/tm/manager/service/impl/TxManagerServiceImplç èé WX$com/codingapi/tm/netty/model/TxGroup UVê ëa ìíî ïð ñò óôjava/lang/StringBuilder KLõ ö÷ øù ú÷ OP û÷ü ýþ Š‹ ‰a#com/codingapi/tm/netty/model/TxInfo ÿô ô c ô í ô      
å  ÷  ô  ÷ ô ÷ ô  í&start-cleanNotifyTransaction->groupId:,taskId: {ô+cleanNotifyTransaction - > txGroup is null  #cleanNotifyTransaction - > groupId ) not over,all transaction must rollback !  only rollback !  æ    !÷ä "# $ % &í ‡ˆ$end-cleanNotifyTransaction->groupId:,res(1:commit,0:rollback): ø' (í )í QR* +, -÷ .ô ST/ 0x 1ajava/lang/Object1com/codingapi/tm/manager/service/TxManagerServicejava/lang/String com/codingapi/tm/model/ModelInfojava/util/Iteratororg/slf4j/LoggerFactory    getLogger%(Ljava/lang/Class;)Lorg/slf4j/Logger;5com/codingapi/tm/compensate/service/CompensateServicegetCompensateByGroupIdsetIsCompensate(I)Vjava/lang/SystemcurrentTimeMillis()J setStartTime(J)V
setGroupId(Ljava/lang/String;)V$com/codingapi/tm/config/ConfigReader getKeyPrefix()Ljava/lang/String;append-(Ljava/lang/String;)Ljava/lang/StringBuilder;toString toJsonString1com/codingapi/tm/redis/service/RedisServerServicesaveTransaction'(Ljava/lang/String;Ljava/lang/String;)VsetChannelAddresssetKidcom/codingapi/tm/Constantsaddress
setAddress
setIsGroup setMethodStr)com/codingapi/tm/manager/ModelInfoManager getInstance-()Lcom/codingapi/tm/manager/ModelInfoManager;getModelByChannelName6(Ljava/lang/String;)Lcom/codingapi/tm/model/ModelInfo; getUniqueKey setUniqueKey getIpAddresssetModelIpAddressgetModelsetModeladdTransactionInfo((Lcom/codingapi/tm/netty/model/TxInfo;)V setRollbackorg/slf4j/Logger
getHasOver()I getRollbackgetList()Ljava/util/List;java/util/Listiterator()Ljava/util/Iterator;hasNext()Znext()Ljava/lang/Object;getKidequals(Ljava/lang/Object;)Z    getNotify
getIsGroup    setNotify(I)Ljava/lang/StringBuilder;setState
setHasOver7com/codingapi/tm/manager/service/TxManagerSenderServiceconfirm)(Lcom/codingapi/tm/netty/model/TxGroup;)I
getGroupId    deleteKey3com/codingapi/tm/manager/service/LoadBalanceServiceremovegetTxGroupByKey!IJKLMNOPMNQRMNSTMNUVMNWX
YZ[<*·*¸µ±\
.] ^_`a[ÁO»Y·M*´+¹Æ,¶    ,¸
¶ ,+¶ » Y·*´¶¶+¶¶N*´-,¶¹,°\"3458!9&;?<M>]*O^_ObcGde?fcgühij[i
‡*+¶:*+¶:Ç°»Y·:¶,¶²¶¶¶¸ ¶!:        Æ!    ¶"¶#    ¶$¶%    ¶&¶'¶(*´¶¹°\JDEFGIJ%K+L3M9N@QJROSYTcUmXtZ„\]f
‡^_‡bc‡kc‡lm‡nc‡oc€fcydeipqJ=rs    gýthýWuvwx[˜'*+¶M*+¶N-Ǭ-¶)*´,-¶¹¬\ab cdfg%h]*'^_'bc!fc deg ýthyz[×
™>*´» Y·*¶+¶+¶,¶¶¹,*+¶:*+¶:Ç*´-¹,¬¶.š<¶)*´¶¹*´» Y·/¶+¶0¶¶¹,¬¶1 &*´» Y·/¶+¶2¶¶¹,¬6¶3¹4:¹5™<¹6À:¶7,¶8™!¶9š¶:š¶;6>§§ÿÀ6¶3¹4:¹5™(¹6À:        ¶:š    ¶9š    6§§ÿÔ™    *¶<š™*´¶¹*´» Y·=¶+¶+¶,¶>¶¶?¶¹,¬\’$mn'o.p5q:rEsGvOyUze|†}ˆ€‘²‚´†·‡Ùˆå‰õŠû‹þŒŽ‘”    •+–;—>˜AšDœIO¡Y¢i¥—¦]f
Ù*{q+{q    ™^_™bc™kc—|m.kfc5dde·â}~    ~g( þGthû@+ý€?úý€+ú
‚[º;*+¶N*+¶:Ǭ¶@¶A*´-¶¹*´B¹C¬\"¬­ ®¯±² ³/´]4;^_;bc;ƒm5fc .deg ýth„…[Y
™*+¶<±\º»    ½] 
^_
de
†~g    ‡ˆ[y!+¶DM*,¶N*´-¹E*´F,¹GW±\ÂÄ ÅÇ È]*!^_!debc fc‰a[S*+¶M*´,¹H°\
ÍÎ] ^_bc fcŠ‹[M» Y·*´¶¶+¶¶°\Ó]^_bcŒMŽ