WangzJi opened a new issue, #8009: URL: https://github.com/apache/incubator-seata/issues/8009
### Check Ahead - [x] I have searched the issues of this repository and believe that this is not a duplicate. - [x] I am willing to try to implement this feature myself. ### Why you need it? Current `TCCModeExecutor` is a stub — `executeBusinessLogic()` is empty, `getBranchCount()` is hardcoded to 0, and the `--branches` parameter is completely ignored. Unlike AT and SAGA modes which support both empty and real transaction execution, TCC mode cannot test the actual TCC protocol overhead. ### How it could be? - Implement `@LocalTCC` annotated `BenchmarkTCCAction` interface with try/confirm/cancel phases - Support `--branches N` to register N TCC branch participants - Support rollback scenario (cancel method should be actually registered and executed) - Follow the same pattern as `ATModeExecutor`: `--branches 0` for empty mode, `--branches N` for real mode -- 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]
