apache / incubator-seata

:fire: Seata is an easy-to-use, high-performance, open source distributed transaction solution.
https://seata.apache.org/
Apache License 2.0
25.25k stars 8.77k forks source link

bugfix: fix when doing global rollback ,may cause an endless loop #6569

Open sixlei opened 4 months ago

sixlei commented 4 months ago

Ⅰ. Describe what this PR did

fix issue #6561

Ⅱ. Does this pull request fix one issue?

fix issue #6561 将对undolog的SQLIntegrityConstraintViolationException异常的try catch范围缩小,只处理undo_log的插入并发,如果有业务回滚时的并发插入异常,直接抛出,按照脏写处理即可。

Ⅲ. Why don't you add test cases (unit test/integration test)?

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

funky-eyes commented 3 months ago

Due to the author's prolonged lack of response, I will close this PR and seek another developer to address this issue.

funky-eyes commented 2 months ago

Could you please resolve the code conflicts first?