mobuxian opened a new pull request, #6547:
URL: https://github.com/apache/incubator-seata/pull/6547

   …modifications to the same record and encountering an exception during 
business execution, the rollback process would fail.
   
   <!-- Please make sure you have read and understood the contributing 
guidelines -->
   
   - [ ] I have registered the PR [changes](../changes).
   
   ### Ⅰ. Describe what this PR did
   When a business operation fails, Seata initiates a data rollback and 
concurrently checks if the data has been modified. If modifications are found, 
the rollback process may fail. In scenarios where the same record is updated 
multiple times, Seata's default sequential rollback approach can lead to 
rollback failures. By altering Seata's rollback strategy to perform rollbacks 
in reverse order—starting with the most recent modification and proceeding 
backwards—the issue can be resolved. This adjustment ensures that changes are 
undone from the latest to the earliest, effectively addressing the problem. 
(The fix involves storages such as DB, Redis, and file systems correctly 
returning branchIDs.)
   
   ### Ⅱ. Does this pull request fix one issue?
   <!-- If that, add "fixes #xxx" below in the next line, for example, fixes 
#97. -->
   
   
   ### Ⅲ. Why don't you add test cases (unit test/integration test)? 
   
   
   ### Ⅳ. Describe how to verify it
   
   
   ### Ⅴ. Special notes for reviews
   
   


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