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

optimize: add store mode,config type and registry type log info #5325

Conversation

renliangyu857
Copy link
Contributor

…erver is starting

  • I have registered the PR changes.

Ⅰ. Describe what this PR did

Ⅱ. Does this pull request fix one issue?

fixes #5209

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

Ⅳ. Describe how to verify it

Ⅴ. Special notes for reviews

@codecov-commenter
Copy link

codecov-commenter commented Feb 10, 2023

Codecov Report

Merging #5325 (43c0738) into develop (357f8e8) will decrease coverage by 0.02%.
The diff coverage is 60.00%.

❗ Current head 43c0738 differs from pull request most recent head 3cdb484. Consider uploading reports for the commit 3cdb484 to get more accurate results

📣 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    #5325      +/-   ##
=============================================
- Coverage      48.79%   48.78%   -0.02%     
+ Complexity      4176     4175       -1     
=============================================
  Files            743      743              
  Lines          26617    26623       +6     
  Branches        3327     3326       -1     
=============================================
- Hits           12989    12988       -1     
- Misses         12225    12236      +11     
+ Partials        1403     1399       -4     
Impacted Files Coverage Δ
...seata/discovery/registry/MultiRegistryFactory.java 0.00% <0.00%> (ø)
...a/io/seata/discovery/registry/RegistryFactory.java 0.00% <0.00%> (ø)
...ain/java/io/seata/config/ConfigurationFactory.java 57.35% <100.00%> (+0.63%) ⬆️
...o/seata/server/coordinator/DefaultCoordinator.java 46.77% <100.00%> (+0.62%) ⬆️
...ava/io/seata/server/lock/LockerManagerFactory.java 61.11% <100.00%> (+4.86%) ⬆️
...in/java/io/seata/server/session/SessionHolder.java 60.71% <100.00%> (+0.28%) ⬆️
...o/seata/server/session/AbstractSessionManager.java 61.19% <0.00%> (-2.99%) ⬇️
.../java/io/seata/server/coordinator/DefaultCore.java 48.23% <0.00%> (-2.36%) ⬇️
...erver/storage/file/session/FileSessionManager.java 47.77% <0.00%> (-0.64%) ⬇️
...in/java/io/seata/rm/tcc/config/TCCFenceConfig.java 0.00% <0.00%> (ø)
... and 1 more

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.

LGTM

@funky-eyes funky-eyes added optimize:log module/core core module module/server server module module/config config module module/discovery discovery module and removed module/core core module labels Feb 13, 2023
@funky-eyes funky-eyes added this to the 1.7.0 milestone Feb 13, 2023
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

@funky-eyes funky-eyes merged commit b4f6fb7 into apache:develop Feb 15, 2023
@@ -337,7 +338,8 @@ protected void timeoutCheck() {
return false;
}

LOGGER.warn("Global transaction[{}] is timeout and will be rollback,transaction begin time:{} and now:{}", globalSession.getXid(), globalSession.getBeginTime(), System.currentTimeMillis());
LOGGER.warn("Global transaction[{}] is timeout and will be rollback,transaction begin time:{} and now:{}", globalSession.getXid(),
Copy link
Member

Choose a reason for hiding this comment

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

The annotation timeout is in milliseconds, here the log format is printed in seconds.

l81893521 pushed a commit to l81893521/seata that referenced this pull request Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/config config module module/discovery discovery module module/server server module optimize:log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants