CodePudding user response:
Transaction message cannot be rolled back, you have to ensure that your code is not the exception, operational check front.He can only ensure the message is sent out will be delivered to, if your code is out of the bug, that need human intervention, also is to fix the bug, resend the message, to achieve consistent
CodePudding user response:
2 PC, 3 PC TCC these actual are theoretical solution; To study onAs the upstairs said, are generally not reissue news, realizes the data finally is consistent,
Seldom go to do a distributed transaction, the actual overall implementation cost is larger, there are a small price solution