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

Bootstrap file memory issues #367

Merged
merged 2 commits into from
Feb 24, 2022
Merged

Conversation

shrimalmadhur
Copy link
Contributor

@shrimalmadhur shrimalmadhur commented Dec 17, 2021

Fixes .
coinbase/mesh-cli#259
coinbase/mesh-cli#260

Motivation

For motivation please refer #365

Solution

We commit transaction for bootstrap balances in chunks of 600 accounts.

Open questions

I tested it locally with MaxEntrySizePerTxn to be lower/same than number of account and it worked. I still have not found a clean way to unit test that since that value comes from a const.

@shrimalmadhur shrimalmadhur changed the title the existing commit Bootstrap file memory issues Dec 17, 2021
@coveralls
Copy link

coveralls commented Dec 17, 2021

Pull Request Test Coverage Report for Build 15952

  • 5 of 9 (55.56%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.02%) to 77.916%

Changes Missing Coverage Covered Lines Changed/Added Lines %
storage/modules/balance_storage.go 5 9 55.56%
Totals Coverage Status
Change from base Build 15935: -0.02%
Covered Lines: 8605
Relevant Lines: 11044

💛 - Coveralls

@samuel-rufi
Copy link

Hi @shrimalmadhur, thanks for opening this PR. I was wondering if there is any update? Thanks alot!

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.

4 participants