-
Notifications
You must be signed in to change notification settings - Fork 221
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always grow database when asked to resize (#3313)
Description --- When a resize is detected as needed, we no longer need to do threshold checking. Simply grow the database by the configured amount. Increase the number of MAX_RESIZES in a transaction to accomodate very large transactions (interestingly, needed during rewind-blockchain for > 1000 blocks, depending on configured resize growth). - Fix incorrect error log in lmdb helper functions. - Check for MAP_FULL in lmdb_replace Motivation and Context --- Bug fixes How Has This Been Tested? --- using rewind-blockchain on base node
- Loading branch information
Showing
4 changed files
with
47 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters