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

indexer: hotfix ReindexBlocks #1386

Merged
merged 1 commit into from
Sep 10, 2024
Merged

indexer: hotfix ReindexBlocks #1386

merged 1 commit into from
Sep 10, 2024

Conversation

altergui
Copy link
Contributor

  • defer call, to avoid races with startDB init stuff

  • add idx.blockTx.Commit every 10000 blocks and after finishing

  • add some progress log every 10000 blocks

 * defer call, to avoid races with startDB init stuff

 * add idx.blockTx.Commit every 10000 blocks and after finishing

 * add some progress log every 10000 blocks
@coveralls
Copy link

Pull Request Test Coverage Report for Build 10790807072

Details

  • 10 of 14 (71.43%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 62.289%

Changes Missing Coverage Covered Lines Changed/Added Lines %
vochain/indexer/indexer.go 10 14 71.43%
Totals Coverage Status
Change from base Build 10772317662: 0.04%
Covered Lines: 16805
Relevant Lines: 26979

💛 - Coveralls

@altergui altergui merged commit ae74b55 into main Sep 10, 2024
11 checks passed
@altergui altergui deleted the hotfix/reindex branch September 10, 2024 11:21
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