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

feat(log): use AsyncAppender for DB #5010

Merged

Conversation

halibobo1205
Copy link
Contributor

@halibobo1205 halibobo1205 commented Feb 20, 2023

What does this PR do?
Optimize database log printing.
Why are these changes required?
Use AsyncAppender to log events asynchronously.
This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter
Copy link

Codecov Report

Merging #5010 (092d9ce) into release_v4.7.1 (6c51cff) will increase coverage by 0.01%.
The diff coverage is n/a.

📣 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                  @@
##             release_v4.7.1    #5010      +/-   ##
====================================================
+ Coverage             54.68%   54.69%   +0.01%     
  Complexity             8217     8217              
====================================================
  Files                   841      841              
  Lines                 49702    49702              
  Branches               5456     5456              
====================================================
+ Hits                  27178    27183       +5     
+ Misses                20379    20376       -3     
+ Partials               2145     2143       -2     
Impacted Files Coverage Δ
...mework/src/main/java/org/tron/core/db/Manager.java 52.71% <0.00%> (-0.08%) ⬇️
...ain/java/org/tron/core/services/RpcApiService.java 4.95% <0.00%> (+0.12%) ⬆️
...ork/src/main/java/org/tron/core/trie/TrieImpl.java 58.24% <0.00%> (+0.35%) ⬆️
...g/tron/core/capsule/utils/FastByteComparisons.java 68.00% <0.00%> (+8.00%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@halibobo1205 halibobo1205 merged commit c09446f into tronprotocol:release_v4.7.1 Feb 20, 2023
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.

4 participants