Skip to content

TCC防悬挂问题 #6374

Open
Open
@tuwenlin

Description

@tuwenlin

image
prepare阶段,插入tcc_fence_log和targetCallback.execute();在一个事务里,targetCallback.execute()如果有了异常,随后插入的tcc_fence_log也会回滚,然后在rollback方法里,从数据库查到的tcc_fence_log为null,就不会再走实际的回滚方法了

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions