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.38k stars 8.79k forks source link

bugfix: fix statemachine cache object #6986

Closed MaoMaoandSnail closed 3 weeks ago

MaoMaoandSnail commented 3 weeks ago

Ⅰ. Describe what this PR did

The key in the state machine cache is incorrect

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

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 52.74%. Comparing base (78a0708) to head (1678a0b).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/apache/incubator-seata/pull/6986/graphs/tree.svg?width=650&height=150&src=pr&token=tbmHt2ZfxO&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)](https://app.codecov.io/gh/apache/incubator-seata/pull/6986?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache) ```diff @@ Coverage Diff @@ ## 2.x #6986 +/- ## ============================================ + Coverage 52.70% 52.74% +0.04% - Complexity 6580 6584 +4 ============================================ Files 1125 1125 Lines 39923 39923 Branches 4675 4677 +2 ============================================ + Hits 21042 21058 +16 + Misses 16882 16864 -18 - Partials 1999 2001 +2 ``` [see 3 files with indirect coverage changes](https://app.codecov.io/gh/apache/incubator-seata/pull/6986/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=apache)