dtm
dtm copied to clipboard
Support rollback_reason for global transaction
There may be rollback for XA,Saga,Tcc patterns. DTM want to record the rollback reason, and then user can query the global transaction to see what cause the global transaction to rollback.
- The column in db to record the reason can be: rollback_reason varchar(1024)
- When XA, TCC timeout, the rollback_reason should be "Timeout after x seconds"