CAICAIIs commented on code in PR #1119:
URL: 
https://github.com/apache/incubator-seata-go/pull/1119#discussion_r3487263923


##########
pkg/datasource/sql/xa_resource_manager.go:
##########


Review Comment:
   thx,BranchRollback now caches BranchStatusPhasetwoRollbacked on both 
successful rollback and already-rollbacked errors, and cached rollbacked status 
short-circuits later rollback retries. I also added the opposite terminal-state 
guard so commit returns unretryable if the branch is already cached as 
rollbacked.



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