Skip to content

feat(db): optimize internal db log print#4861

Merged
halibobo1205 merged 1 commit intotronprotocol:release_v4.7.0from
lurais:feature/print_leveldb_log
Jan 4, 2023
Merged

feat(db): optimize internal db log print#4861
halibobo1205 merged 1 commit intotronprotocol:release_v4.7.0from
lurais:feature/print_leveldb_log

Conversation

@lurais
Copy link
Copy Markdown
Contributor

@lurais lurais commented Dec 21, 2022

What does this PR do?
Optimize internal db log print
Why are these changes required?

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 21, 2022

Codecov Report

Merging #4861 (a967238) into release_v4.7.0 (1337d45) will increase coverage by 0.00%.
The diff coverage is 8.33%.

@@                Coverage Diff                @@
##             release_v4.7.0    #4861   +/-   ##
=================================================
  Coverage             53.46%   53.46%           
- Complexity             8025     8028    +3     
=================================================
  Files                   830      831    +1     
  Lines                 48850    48887   +37     
  Branches               5360     5366    +6     
=================================================
+ Hits                  26119    26139   +20     
- Misses                20682    20701   +19     
+ Partials               2049     2047    -2     
Impacted Files Coverage Δ
...src/main/java/org/tron/log/MultiLayoutPattern.java 0.00% <0.00%> (ø)
.../common/storage/leveldb/LevelDbDataSourceImpl.java 70.74% <100.00%> (+6.36%) ⬆️
.../common/storage/rocksdb/RocksDbDataSourceImpl.java 66.91% <100.00%> (ø)
...org/tron/core/exception/ItemNotFoundException.java 33.33% <0.00%> (-33.34%) ⬇️
...rc/main/java/org/tron/core/db/BlockIndexStore.java 46.15% <0.00%> (-7.70%) ⬇️
...rc/main/java/org/tron/consensus/dpos/DposTask.java 87.09% <0.00%> (-1.62%) ⬇️
.../src/main/java/org/tron/core/ChainBaseManager.java 89.43% <0.00%> (-1.41%) ⬇️
...c/main/java/org/tron/core/actuator/VMActuator.java 64.89% <0.00%> (+0.25%) ⬆️
...rc/main/java/org/tron/core/vm/program/Program.java 64.41% <0.00%> (+1.25%) ⬆️
...ork/src/main/java/org/tron/core/zen/note/Note.java 77.93% <0.00%> (+1.37%) ⬆️
... and 1 more

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

@lurais lurais force-pushed the feature/print_leveldb_log branch 2 times, most recently from 3ad99c7 to 55fd224 Compare December 22, 2022 03:32
@lurais lurais force-pushed the feature/print_leveldb_log branch 4 times, most recently from 96f913f to 0e26bbd Compare January 3, 2023 06:22
1. optimize internal db log print
@lurais lurais force-pushed the feature/print_leveldb_log branch from 0e26bbd to 79c5e57 Compare January 4, 2023 04:10
@halibobo1205 halibobo1205 merged commit 0a94891 into tronprotocol:release_v4.7.0 Jan 4, 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.

3 participants