freenet-core
freenet-core copied to clipboard
Bump redb from 2.1.1 to 2.1.2
Bumps redb from 2.1.1 to 2.1.2.
Release notes
Sourced from redb's releases.
2.1.2
Major fixes:
- Fix leak of database space that could occur when calling
restore_savepoint()- Fix leak of database space when calling
delete_multimap_table()- Fix database corruption which could occur when restoring a savepoint. This edge case is rare, and could only occur if the database was less than approximately 4TiB when the savepoint was created, and greater than 4TiB when the savepoint was restored
- Fix edge case where a transient I/O error that occurred during transaction commit, but then did not reoccur when the
Databasewas dropped, could cause database corruptionImportant: If your application has called
restore_savepoint(),delete_multimap_table(), or you suspect it may have experienced a transient I/O error during transaction commit. It is recommended that you runcheck_integrity()after upgrading to this version. This will both detect corruption and clean up any leaked space.Other changes and fixes:
- Optimize page freeing to reduce the size of the database file
- Fix several cases where
check_integrity()would returnOk(false)instead ofOk(true)- Fix some cases where
compact()did not fully compact the database- Make the metadata overhead returned by
WriteTransaction::stats()more accurate- Return
StorageError::ValueTooLargewhen a key-value pair exceeds a total of 3.75GiB. Previously, a panic would occur for key-value pairs that were approximately 4GiB.- Downgrade several
info!log messages todebug!- Improve documentation
Changelog
Sourced from redb's changelog.
2.1.2 - 2024-08-25
Major fixes:
- Fix leak of database space that could occur when calling
restore_savepoint()- Fix leak of database space when calling
delete_multimap_table()- Fix database corruption which could occur when restoring a savepoint. This edge case is rare, and could only occur if the database was less than approximately 4TiB when the savepoint was created, and greater than 4TiB when the savepoint was restored
- Fix edge case where a transient I/O error that occurred during transaction commit, but then did not reoccur when the
Databasewas dropped, could cause database corruptionImportant: If your application has called
restore_savepoint(),delete_multimap_table(), or you suspect it may have experienced a transient I/O error during transaction commit. It is recommended that you runcheck_integrity()after upgrading to this version. This will both detect corruption and clean up any leaked space.Other changes and fixes:
- Optimize page freeing to reduce the size of the database file
- Fix several cases where
check_integrity()would returnOk(false)instead ofOk(true)- Fix some cases where
compact()did not fully compact the database- Make the metadata overhead returned by
WriteTransaction::stats()more accurate- Return
StorageError::ValueTooLargewhen a key-value pair exceeds a total of 3.75GiB. Previously, a panic would occur for key-value pairs that were approximately 4GiB.- Downgrade several
info!log messages todebug!- Improve documentation
Commits
4dbd9cdBump version to 2.1.23967230Update author's email addresse47e7d4Update changelog072c81cImprove compaction0d94695Compact subtrees of multimap tables91d4ee1Better markdown benchmarks (#849)ea41b5eRefactor InternalTableDefinitionfe0450cAdd test for multithreaded reads of a Tablec93a74achore: use heed for LMDB in benchmark (#847)7a35233Add check_integrity() to fuzzer- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
Superseded by #1222.