Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix: fix that LocalThread is not cleared when the Saga transaction ends #3740

Merged

Conversation

wangliang181230
Copy link
Contributor

Ⅰ. Describe what this PR did

bugfix: fix that LocalThread is not cleared when the Saga transaction ends in some cases.
错误修复:修复在某些情况下,当Saga事务结束时LocalThread未被清除的问题。

Ⅱ. Does this pull request fix one issue?

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

…a-un-clear-branch-type

# Conflicts:
#	saga/seata-saga-engine/src/main/java/io/seata/saga/engine/sequence/SpringJvmUUIDSeqGenerator.java
…aga-un-clear-branch-type

# Conflicts:
#	saga/seata-saga-engine-store/src/main/java/io/seata/saga/engine/store/db/DbAndReportTcStateLogStore.java
@wangliang181230 wangliang181230 changed the title bugfix: fix that LocalThread is not cleared when the Saga transaction ends bugfix: fix that LocalThread is not cleared when the Saga transaction ends in some cases May 18, 2021
@codecov-commenter
Copy link

codecov-commenter commented May 18, 2021

Codecov Report

Merging #3740 (29dae04) into develop (9dfb624) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             develop    #3740   +/-   ##
==========================================
  Coverage      40.82%   40.82%           
  Complexity      2945     2945           
==========================================
  Files            663      663           
  Lines          22261    22261           
  Branches        2758     2758           
==========================================
  Hits            9089     9089           
  Misses         12326    12326           
  Partials         846      846           

@wangliang181230 wangliang181230 added this to the 1.5.0 milestone May 18, 2021
@leizhiyuan leizhiyuan self-requested a review May 23, 2021 12:39
Copy link
Contributor

@leizhiyuan leizhiyuan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@slievrly slievrly left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@slievrly slievrly changed the title bugfix: fix that LocalThread is not cleared when the Saga transaction ends in some cases bugfix: fix that LocalThread is not cleared when the Saga transaction ends May 24, 2021
@slievrly slievrly merged commit 0d7e5dc into apache:develop May 24, 2021
@wangliang181230 wangliang181230 deleted the bugfix-saga-un-clear-branch-type branch May 24, 2021 09:53
@wangliang181230 wangliang181230 added the mode: SAGA SAGA transaction mode label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mode: SAGA SAGA transaction mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants