Vanillaxi opened a new pull request, #1139: URL: https://github.com/apache/incubator-seata-go/pull/1139
**What this PR does**: Add the semantic batch execution foundation for MySQL AT mode. * ` ExecBatchContext` for DB-owned transactions * `ExecBatchInTxContext` for caller-owned transactions * ordered execution of all batch items in the same local transaction * fail-fast and whole-transaction rollback for DB-owned batches * caller-controlled commit and rollback for caller-owned transactions * empty batch handling and batch state isolation between invocations **Which issue(s) this PR fixes**: Part of #1128 **Special notes for your reviewer**: This PR is limited to the Batch API, execution model, transaction semantics, and MySQL semantic batch foundation.Complete AT correctness will be implemented in a follow-up PR. Tested with go test ./pkg/datasource/sql -run Batch -count=1. **Does this PR introduce a user-facing change?**: <!-- If no, just write "NONE" in the release-note block below. If yes, a release note is required: Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required". --> ```release-note Add semantic batch execution APIs for MySQL AT 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]
