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

[RocksDB] Reduce number of blocks processed in batch by block processor #2920

Merged

Conversation

wezrule
Copy link
Contributor

@wezrule wezrule commented Sep 9, 2020

I got a write transaction commit error during block processing with RocksDB:

Transaction could not check for conflicts for operation at SequenceNumber 4308405 as the MemTable only contains changes newer than SequenceNumber 4340971. Increasing the value of the max_write_buffer_number_to_maintain option could reduce the frequency of this error.

That option is deprecated and don't really want to increase the number of memtables either (currently at 2). Reducing the amount of blocks processed seems to resolve this, we currently do 5s by default, and even more with --fast_bootstrap.

Tested a full bootstrap on beta with --fast_bootstrap, took 40 minutes to get all 3.5M checked blocks, and live took me 7 hours.
Bugs: Fix incorrect debug_assert comparison and some failing tests on RocksDB

@wezrule wezrule added this to the V22.0 milestone Sep 9, 2020
@wezrule wezrule self-assigned this Sep 9, 2020
@wezrule wezrule merged commit bc8c52a into nanocurrency:develop Sep 10, 2020
@wezrule wezrule deleted the lower_amount_block_processing_rocksdb branch September 10, 2020 13:39
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.

2 participants