WillemJiang commented on issue #742:
URL:
https://github.com/apache/servicecomb-pack/issues/742#issuecomment-1053795114
Just like the calling commit method with JDBC, it could be failed,we can do
some other recovery work later.
My suggestion is we check the balance or even withdraw some money from the
account in the prepare method.
If some thing wrong with the whole transaction, we can still do some
recovery work in cancel method.
If the cancel method call is failed, we need to do some manually recovery
work with more detail transaction context information then.
In this way , we can make our system more easy to maintain.
--
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]