Skip to content

Commit

Permalink
trigger a build
Browse files Browse the repository at this point in the history
  • Loading branch information
yedf2 committed Nov 24, 2024
1 parent 33bfc25 commit 6eb2ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ logger.Infof("result of workflow.Execute is: %v", err)
When the above code runs, we can see in the console that services `TransOut`, `TransIn` has been called.

#### Rollback upon failure
If any forward operation fails, DTM invokes the corresponding compensating operation of each sub-transaction to roll back, after which the transaction is successfully rolled back.
If any forward operation fails, DTM invokes the corresponding compensating operation of each sub-transaction to roll back, after which the transaction is successfully rolled back.

Let's purposely trigger the failure of the second sub-transaction and watch what happens

Expand Down

0 comments on commit 6eb2ac8

Please # to comment.