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 encode request error #2456

Merged
merged 4 commits into from
Apr 8, 2020
Merged

bugfix: fix encode request error #2456

merged 4 commits into from
Apr 8, 2020

Conversation

slievrly
Copy link
Member

@slievrly slievrly commented Mar 25, 2020

Signed-off-by: slievrly slievrly@163.com

Ⅰ. Describe what this PR did

bugfix: fix encode request error

Ⅱ. Does this pull request fix one issue?

fix #2458

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

Signed-off-by: slievrly <slievrly@163.com>
@codecov-io
Copy link

codecov-io commented Mar 26, 2020

Codecov Report

Merging #2456 into develop will decrease coverage by 0.03%.
The diff coverage is 11.76%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2456      +/-   ##
=============================================
- Coverage      51.45%   51.41%   -0.04%     
  Complexity      2665     2665              
=============================================
  Files            529      529              
  Lines          16956    16975      +19     
  Branches        2051     2050       -1     
=============================================
+ Hits            8724     8727       +3     
- Misses          7408     7424      +16     
  Partials         824      824              
Impacted Files Coverage Δ Complexity Δ
...zer/seata/protocol/AbstractResultMessageCodec.java 75.00% <0.00%> (+7.25%) 5.00 <0.00> (ø)
.../java/io/seata/server/coordinator/DefaultCore.java 55.00% <ø> (-0.28%) 23.00 <0.00> (ø)
...java/io/seata/server/AbstractTCInboundHandler.java 1.98% <3.70%> (+0.76%) 2.00 <1.00> (+1.00)
...o/seata/server/coordinator/DefaultCoordinator.java 55.00% <75.00%> (+0.40%) 29.00 <0.00> (-1.00) ⬆️

@zjinlei zjinlei added the bug label Mar 29, 2020
@wuqiu-ai
Copy link
Contributor

经过周末2天的性能压测修复server端编码异常暂无发现server端编码问题,client端也能正常响应。
压测机:200线程施压;
server端:数据库连接池druid,连接池配置minconn:50,maxconn:100
压测结果:
1

Copy link
Contributor

@ph3636 ph3636 left a comment

Choose a reason for hiding this comment

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

You can consider setting the parameter globalStatus of AbstractGlobalEndResponse to a constructor with parameters to prevent forgetting

@@ -303,4 +329,16 @@ public void execute(GlobalReportRequest request, GlobalReportResponse response)
protected abstract void doGlobalReport(GlobalReportRequest request, GlobalReportResponse response,
RpcContext rpcContext) throws TransactionException;

Copy link
Contributor

@ph3636 ph3636 Mar 31, 2020

Choose a reason for hiding this comment

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

lack GlobalReportResponse.setGlobalStatus()

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed.

Signed-off-by: slievrly <slievrly@163.com>
Copy link
Contributor

@ph3636 ph3636 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
Contributor

@zjinlei zjinlei left a comment

Choose a reason for hiding this comment

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

LGTM
Agree with @ph3636

Copy link
Contributor

@l81893521 l81893521 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 merged commit 22c7862 into apache:develop Apr 8, 2020
@slievrly slievrly added this to the 1.2.0 milestone Apr 14, 2020
@wangliang181230 wangliang181230 added type: bug Category issues or prs related to bug. and removed bug labels Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Category issues or prs related to bug.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

seata server压力测试的时候偶尔编码报错
7 participants