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
optimize: add store mode,config type and registry type log info #5325
Conversation
…e_registrytype_log' into optimize_add_storemode_configtype_registrytype_log
Codecov Report
📣 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 @@ 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
|
config/seata-config-core/src/main/java/io/seata/config/ConfigurationFactory.java
Outdated
Show resolved
Hide resolved
...ery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java
Outdated
Show resolved
Hide resolved
discovery/seata-discovery-core/src/main/java/io/seata/discovery/registry/RegistryFactory.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
…e_registrytype_log' into optimize_add_storemode_configtype_registrytype_log
...ery/seata-discovery-core/src/main/java/io/seata/discovery/registry/MultiRegistryFactory.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -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(), |
There was a problem hiding this comment.
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.
…erver is starting
Ⅰ. 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