Hakunata edited a comment on issue #742:
URL: 
https://github.com/apache/servicecomb-pack/issues/742#issuecomment-1053785594


   > Normally we don't call any cancel method if the confirm method is failed. 
Otherwise it will make recover process very complicated. You need to check do 
the balance check in the sub transaction prepare method, and confirm method 
just used to committed the transaction, and we can do other check later.
   
   I think if we do not check and protect on "confirm" method(like check 
balance),there would be problems on concurrent requests context(like multiple 
requests transfer out money and substract balance).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to