Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@zw201913
Copy link
Contributor

@zw201913 zw201913 commented Oct 24, 2022

…zation of BusinessActionContext

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes #5011
fixes #5334

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@zw201913 zw201913 changed the title fixed #5011 Fix the problem of type inconsistency caused by deseriali… Fix the problem of type inconsistency caused by deserialization of BusinessActionContext Oct 24, 2022
@funky-eyes funky-eyes changed the title Fix the problem of type inconsistency caused by deserialization of BusinessActionContext bugfix: the problem of type inconsistency caused by deserialization of BusinessActionContext Oct 24, 2022
Copy link
Contributor

@funky-eyes funky-eyes left a comment

Choose a reason for hiding this comment

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

Please add test cases

@zw201913
Copy link
Contributor Author

get it

@codecov-commenter
Copy link

codecov-commenter commented Oct 26, 2022

Codecov Report

Merging #5017 (ae0db16) into develop (b4f6fb7) will increase coverage by 0.03%.
The diff coverage is 46.37%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #5017      +/-   ##
=============================================
+ Coverage      48.76%   48.79%   +0.03%     
- Complexity      4173     4195      +22     
=============================================
  Files            743      749       +6     
  Lines          26626    26685      +59     
  Branches        3327     3328       +1     
=============================================
+ Hits           12984    13022      +38     
- Misses         12241    12258      +17     
- Partials        1401     1405       +4     
Impacted Files Coverage Δ
...c/main/java/io/seata/common/ConfigurationKeys.java 0.00% <ø> (ø)
...n/src/main/java/io/seata/common/DefaultValues.java 0.00% <ø> (ø)
.../main/java/io/seata/rm/tcc/TCCResourceManager.java 0.00% <0.00%> (ø)
...io/seata/rm/tcc/api/BusinessActionContextUtil.java 0.00% <0.00%> (ø)
...io/seata/rm/tcc/interceptor/ActionContextUtil.java 34.40% <0.00%> (ø)
...a/rm/tcc/interceptor/ActionInterceptorHandler.java 12.04% <0.00%> (ø)
.../tcc/serializer/spi/FastJsonContextSerializer.java 22.22% <12.50%> (ø)
...a/rm/tcc/serializer/AbstractContextSerializer.java 42.85% <42.85%> (ø)
...m/tcc/serializer/spi/JacksonContextSerializer.java 56.25% <56.25%> (ø)
...cc/serializer/BusinessActionContextSerializer.java 90.90% <90.00%> (ø)
... and 5 more

@CLAassistant
Copy link

CLAassistant commented Dec 12, 2022

CLA assistant check
All committers have signed the CLA.

private ContextSerializerFactory() {}

// ContextSerializer cache
private static final ConcurrentMap<String, ContextSerializer> INSTANCES = new ConcurrentHashMap<>();
Copy link
Contributor

Choose a reason for hiding this comment

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

private static final Map<String, ContextSerializer> INSTANCES = new ConcurrentHashMap<>();

@funky-eyes funky-eyes modified the milestones: 2.0.0, 1.7.0 Feb 13, 2023
@funky-eyes funky-eyes added type: bug Category issues or prs related to bug. module/tcc tcc module labels Feb 13, 2023
@funky-eyes funky-eyes modified the milestones: 1.7.0, 2.0.0 Feb 13, 2023
@funky-eyes funky-eyes changed the base branch from develop to 2.x February 13, 2023 01:35
@funky-eyes funky-eyes changed the base branch from 2.x to develop February 13, 2023 01:36
@zw201913 zw201913 changed the title bugfix: the problem of type inconsistency caused by deserialization of BusinessActionContext optimize: the problem of type inconsistency caused by deserialization of BusinessActionContext Feb 16, 2023
@funky-eyes funky-eyes closed this Feb 17, 2023
@funky-eyes
Copy link
Contributor

#5352

@slievrly slievrly modified the milestones: 2.0.0, 2.x Backlog Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module/tcc tcc module type: bug Category issues or prs related to bug.

Projects

None yet

6 participants