Vanillaxi opened a new pull request, #1141:
URL: https://github.com/apache/incubator-seata-go/pull/1141

   <!--  Thanks for sending a pull request!
   -->
   <!-- Please make sure you have read and understood the contributing 
guidelines -->
   
   > Depends on #1139. This PR currently includes the #1139 commits and will be 
rebased onto `master` after #1139 is merged.
   
   **What this PR does**:
   This PR ensures that semantic batch INSERT, UPDATE, and DELETE execution 
correctly handles:
   - transaction mode routing based on the transaction context selected at 
`Begin`
   - paired before/after images and no-op item filtering
   - lock keys without empty table-level entries
   - deterministic INSERT key extraction for placeholders, functions, generated 
keys, and composite primary keys
   - stable ordered primary key handling across image queries, undo SQL, 
parameter binding, and dirty-data comparison
   - phase-two dirty data validation for INSERT, UPDATE, and DELETE
   - reverse rollback of multiple undo items serialized in one branch undo log
   - whole-transaction rollback when an owned batch fails partway through 
execution
   
   **Which issue(s) this PR fixes**:
   
   <!--
   *Automatically closes linked issue when PR is merged.
   Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
   _If PR is about `failing-tests or flakes`, please post the related 
issues/tests in a comment and do not use `Fixes`_*
   -->
   
   Part of #1128 
   
   **Special notes for your reviewer**:
   This PR preserves the execution model introduced by #1139: batch items are 
executed sequentially through the existing single-statement AT executors in one 
local transaction.
   It  does not merge business SQL, image queries, or undo SQL.
   
   Tested with:
   
    `go test ./pkg/datasource/sql/exec/at  ./pkg/datasource/sql/undo/base    
./pkg/datasource/sql/undo/mysql  ./pkg/datasource/sql/util -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
   Ensure MySQL semantic batch INSERT, UPDATE, and DELETE operations in AT mode 
generate correct images, lock keys, undo logs, and reverse rollback behavior.
   ```
   


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