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

issue #936 add service load mechanism for TM #938

Merged
merged 40 commits into from
Apr 29, 2019
Merged

Conversation

sharajava
Copy link
Contributor

Ⅰ. Describe what this PR did

issue #936 add service load mechanism for TM

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

# Conflicts:
#	server/src/main/java/com/alibaba/fescar/server/coordinator/DefaultCoordinator.java
…try other application on the same resource.
# Conflicts:
#	test/src/main/java/com/alibaba/fescar/test/DataSourceBasicTest.java
# Conflicts:
#	rm-datasource/src/main/java/com/alibaba/fescar/rm/datasource/sql/druid/MySQLInsertRecognizer.java
#	rm-datasource/src/main/java/com/alibaba/fescar/rm/datasource/sql/struct/TableMetaCache.java
#	test/src/main/java/com/alibaba/fescar/test/DataSourceBasicTest.java
@codecov-io
Copy link

codecov-io commented Apr 29, 2019

Codecov Report

Merging #938 into develop will increase coverage by 0.02%.
The diff coverage is 71.42%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop     #938      +/-   ##
=============================================
+ Coverage      37.16%   37.19%   +0.02%     
- Complexity      1024     1026       +2     
=============================================
  Files            224      225       +1     
  Lines           8882     8892      +10     
  Branches        1065     1065              
=============================================
+ Hits            3301     3307       +6     
- Misses          5196     5199       +3     
- Partials         385      386       +1
Impacted Files Coverage Δ Complexity Δ
...in/java/io/seata/tm/DefaultTransactionManager.java 4.76% <ø> (-11.91%) 1 <0> (-1)
...java/io/seata/tm/api/DefaultGlobalTransaction.java 58.06% <100%> (ø) 15 <0> (ø) ⬇️
...ain/java/io/seata/tm/TransactionManagerHolder.java 69.23% <69.23%> (ø) 3 <3> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d6f239...243a715. Read the comment docs.

Copy link
Contributor

@zhangthen zhangthen left a comment

Choose a reason for hiding this comment

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

Okey to me.

@CoffeeLatte007
Copy link
Contributor

Who needs custom TransactionManager?Can you describe the usage scenarios?

@sharajava
Copy link
Contributor Author

Who needs custom TransactionManager?Can you describe the usage scenarios?

TM and RM are core interfaces in Seata, I think it's better to take them forward to transaction standard, not just Java SDK. Implementations of TM and RM should be the endpoint for service providers of Seata standard. I hope this change will be the first step of making Seata as a standard.

Native Seata

Seata Service Provider

Copy link
Contributor

@wgs13579 wgs13579 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 8a637cb into apache:develop Apr 29, 2019
nick-tan pushed a commit to nick-tan/seata that referenced this pull request Jul 12, 2019
@wangliang181230 wangliang181230 added this to the 0.5.* milestone Aug 9, 2021
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.

None yet

8 participants