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

feature: compatibility dubbo 2.7.4+ #2239

Merged
merged 35 commits into from
Feb 12, 2020
Merged

Conversation

funky-eyes
Copy link
Contributor

Ⅰ. Describe what this PR did

modify dubbo filter class name,compatibility dubbo 2.7.4.1

Ⅱ. Does this pull request fix one issue?

fixes #2194

funky-eyes and others added 29 commits December 11, 2019 19:57
bugfix: fix mysql connection unable to release (apache#2037)
optimize: gracefully close resources (apache#2139)
test: enhance test coverage of seata common (apache#2170)
@codecov-io
Copy link

codecov-io commented Feb 11, 2020

Codecov Report

Merging #2239 into develop will increase coverage by 0.13%.
The diff coverage is 0%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop    #2239      +/-   ##
=============================================
+ Coverage       53.6%   53.74%   +0.13%     
  Complexity      2620     2620              
=============================================
  Files            492      492              
  Lines          15395    15399       +4     
  Branches        1733     1765      +32     
=============================================
+ Hits            8253     8276      +23     
- Misses          6331     6335       +4     
+ Partials         811      788      -23
Impacted Files Coverage Δ Complexity Δ
.../java/io/seata/rm/datasource/DataCompareUtils.java 73.07% <0%> (-3.96%) 25 <0> (ø)
...buf/convertor/BranchRollbackResponseConvertor.java 100% <0%> (+2.94%) 3% <0%> (ø) ⬇️
...tobuf/convertor/BranchCommitResponseConvertor.java 100% <0%> (+3.03%) 3% <0%> (ø) ⬇️
...buf/convertor/GlobalRollbackResponseConvertor.java 100% <0%> (+3.22%) 3% <0%> (ø) ⬇️
...tobuf/convertor/GlobalStatusResponseConvertor.java 100% <0%> (+3.33%) 3% <0%> (ø) ⬇️
...tobuf/convertor/GlobalCommitResponseConvertor.java 100% <0%> (+3.33%) 3% <0%> (ø) ⬇️
...rotobuf/convertor/RegisterRMResponseConvertor.java 82.75% <0%> (+3.44%) 3% <0%> (ø) ⬇️
...rotobuf/convertor/RegisterTMResponseConvertor.java 82.75% <0%> (+3.44%) 3% <0%> (ø) ⬇️
...uf/convertor/GlobalLockQueryResponseConvertor.java 100% <0%> (+3.84%) 3% <0%> (ø) ⬇️
...obuf/convertor/BranchRollbackRequestConvertor.java 100% <0%> (+4%) 3% <0%> (ø) ⬇️
... and 12 more

@slievrly slievrly added this to the 1.1.0 milestone Feb 11, 2020
@@ -39,5 +39,10 @@
<groupId>com.alibaba</groupId>
<artifactId>dubbo</artifactId>
</dependency>
<dependency>
Copy link
Member

Choose a reason for hiding this comment

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

This dependence is not appropriate.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This dependence is not appropriate.

already modify @slievrly


@Override
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
if (DubboConstants.ALIBABADUBBO) {
Copy link
Member

Choose a reason for hiding this comment

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

Because of dependence on seata-dubbo (apache-dubbo), is it alibaba-dubbo?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because of dependence on seata-dubbo (apache-dubbo), is it alibaba-dubbo?

used to determine whether it is Alibaba or Apache @slievrly

Copy link
Contributor

Choose a reason for hiding this comment

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

if (!DubboConstants.ALIBABADUBBO) {return invoker.invoke(invocation);}
reduce original changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

if (!DubboConstants.ALIBABADUBBO) {return invoker.invoke(invocation);}
reduce original changes

get it

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

Copy link
Member

@xingfudeshi xingfudeshi 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 compatibility dubbo 2.7.4.1 compatibility dubbo 2.7.4+ Feb 12, 2020
@slievrly slievrly changed the title compatibility dubbo 2.7.4+ feature: compatibility dubbo 2.7.4+ Feb 12, 2020
@slievrly slievrly merged commit 1bd9c1e into apache:develop Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

springboot dubbo TCC @Reference
6 participants