Skip to content

something about: modify XA mode pre commit transaction from commit phase to before close phase #7975

@mogli129

Description

@mogli129

Check Ahead

  • I have searched the issues of this repository and believe that this is not a duplicate.

  • I am willing to try to fix this bug myself.

Ⅰ. Issue Description

this is some problem when I test in XA mode use PG,use “springboot-feign-seata-xa” project。
update Seata to 2.5.0,The Timeout Exception is ingore。

Ⅱ. Describe what happened

1.Timeout Exception is throw

Image

2.Check the stack, Timeout Exception will Ingore By this code

Image

3.The console indicates that the transaction has been committed, but in fact, the transaction was rolled back.

Ⅲ. Describe what you expected to happen

Please confirm if it is a problem. If it is a problem, please fix it.

Ⅳ. How to reproduce it (as minimally and precisely as possible)

No response

Ⅴ. Anything else we need to know?

No response

Ⅵ. Environment

jdk1.8.0_172 Seata2.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions