jian666wang-maker opened a new issue, #8037: URL: https://github.com/apache/incubator-seata/issues/8037
### Background `test-suite/seata-benchmark-cli` currently supports `--mode SAGA` via the state-machine engine, but the "real" path is still largely a mock service-invoker scenario. This issue tracks making the **traditional/state-machine Saga benchmark** closer to real-world usage, so results are more representative and comparable to AT/TCC/XA. ### Scope - Keep using **state-machine JSON** definitions (current `BranchType.SAGA`). - Improve "real" workload realism and observability. ### Proposed Enhancements - Add an optional **DB-backed business step** implementation (e.g., Testcontainers MySQL + a small table) so each action has real IO. - Add **failure injection knobs** (per-step fail rate, timeout simulation) and verify compensation execution. - Add **result validation** (final state assertions, compensated/committed counters) in the summary report. - Make step count / concurrency / action mix configurable (without breaking existing flags). ### Acceptance Criteria - Benchmark CLI can run SAGA with a reproducible non-mock workload (optional toggle). - Final report includes mode/config context + committed/compensated breakdown for SAGA runs. - README documents the new options and provides a sample command. ### References - Module: `test-suite/seata-benchmark-cli` - Current executor: `org.apache.seata.benchmark.executor.SagaModeExecutor` -- 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]
