Skip to content

Conversation

@patrick-ogrady
Copy link
Contributor

@patrick-ogrady patrick-ogrady commented Dec 2, 2020

This PR improves significantly improves block pruning performance by flattening the storage of transaction records. This new modeling approach means we no longer need to fetch a record before we prune it!

Changes

  • flatten transaction data model
  • concurrent transaction pruning
  • reduce number of fetches needed to prune
  • pass existing tests
  • cleanup variable naming

@coveralls
Copy link

coveralls commented Dec 2, 2020

Pull Request Test Coverage Report for Build 13016

  • 73 of 82 (89.02%) changed or added relevant lines in 1 file are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.3%) to 78.411%

Changes Missing Coverage Covered Lines Changed/Added Lines %
storage/modules/block_storage.go 73 82 89.02%
Files with Coverage Reduction New Missed Lines %
storage/modules/block_storage.go 3 78.03%
Totals Coverage Status
Change from base Build 12970: 0.3%
Covered Lines: 7914
Relevant Lines: 10093

💛 - Coveralls

@patrick-ogrady patrick-ogrady merged commit b319989 into master Dec 2, 2020
@patrick-ogrady patrick-ogrady deleted the patrick/block-pruning-optimization branch December 2, 2020 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants