MinatoWu commented on code in PR #875:
URL: 
https://github.com/apache/incubator-seata-go/pull/875#discussion_r2329148793


##########
pkg/datasource/sql/conn_xa.go:
##########
@@ -313,6 +325,7 @@ func (c *XAConn) Rollback(ctx context.Context) error {
                        c.cleanXABranchContext()
                        return fmt.Errorf("failed to report XA branch 
commit-failure on xid:%s err:%w", c.txCtx.XID, err)
                }
+               c.rollBacked = true

Review Comment:
   Only two rollbacks are successfully set to true, and no modification is 
required here
   



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to