Bughue commented on issue #6252: URL: https://github.com/apache/incubator-seata/issues/6252#issuecomment-1895246301
> Are you referring to returning detailed information about the exception to the client? My scenario: the TM calls globalReport directly, the TC receives it and for some reason has a TransactionException (probably a transaction status issue) and then returns code=fail and also globalstatus (copied from the request). It shouldn't make sense that after the TM gets the response it doesn't care about the resultCode but just gets the status, the TM will think that this globalReport was successful, which could lead to business problems. --- 我的场景:TM直接调用globalReport,TC收到后因为某些原因出现了TransactionException(可能是事务状态问题),然后返回了code=fail,同时也返回了globalstatus(从请求里复制的)。在TM获得response后不关心resultCode而直接取得了status,这样应该不合理吧?TM会认为这次globalReport是成功的,可能导致业务问题。 -- 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]
