Skip to content

chore(deps): bump redb from 3.1.3 to 4.1.0#4172

Merged
dignifiedquire merged 1 commit intomainfrom
dependabot/cargo/redb-4.1.0
Apr 30, 2026
Merged

chore(deps): bump redb from 3.1.3 to 4.1.0#4172
dignifiedquire merged 1 commit intomainfrom
dependabot/cargo/redb-4.1.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 23, 2026

Bumps redb from 3.1.3 to 4.1.0.

Release notes

Sourced from redb's releases.

4.1.0

This release contains a large number of bug fixes discovered by AI coding agents

  • Fix a bug where MultimapValue::len() and is_empty() returned stale counts after consuming entries via next_back().
  • Fix a bug where restore_savepoint() used in a non-Immediate durability transaction and when there are persistent savepoints newer than the one being restored, could fail with SavepointError::InvalidSavepoint, but the savepoint would actually be partially applied. The call now fails up front with SavepointError::ImmediateDurabilityRequired.
  • Fix a bug in restore_savepoint() where modifications made earlier in the transaction might not be reverted.
  • Fix a bug where renaming a table that was already modified in the same transaction could cause the database to become corrupted.
  • Fix a bug where calling restore_savepoint() after modifying a table in the same transaction could cause the table to become corrupted in a future transaction.
  • Fix a panic when delete_table() was called on a table that had been modified in the same transaction.
  • Fix a panic in restore_savepoint() when passed a Savepoint from a different Database. SavepointError::InvalidSavepoint is now returned instead.
  • Fix a bug where a transaction that created a persistent savepoint and was then aborted could cause the database file to grow excessively, until the Database was dropped.
  • Fix a panic in check_integrity() when called while another transaction is still alive. DatabaseError::TransactionInProgress is now returned instead.
  • Fix a bug where aborting a transaction that called restore_savepoint() with a savepoint when a newer savepoint existed could cause database space to be leaked.
  • Fix a bug where aborting a transaction that called restore_savepoint() would leave more recent savepoints invalid.
  • Improve performance when reading concurrently from multiple threads. Around 15% speedup on some benchmarks.
  • Optimize cache usage, and general write performance. Around 1.5x speedup on some benchmarks.
  • Optimize memory usage.
  • Other performance optimizations.

4.0.0

  • Implement Drop on AccessGuardMut and AccessGuardMutInPlace, which requires that these be dropped before the Table they borrow from. This fixes a critical bug where the accessor could outlive the Table, and be dropped after the transaction had already committed. This could cause data loss due to the data in the accessor being written out after the transaction had already completed.
  • Remove Legacy type. To migrate off the Legacy type, use the Legacy type in the 3.x release and copy the data to a table with plain tuples, before upgrading to the 4.x release.
Changelog

Sourced from redb's changelog.

4.1.0 - 2026-04-19

This release contains a large number of bug fixes discovered by AI coding agents

  • Fix a bug where MultimapValue::len() and is_empty() returned stale counts after consuming entries via next_back().
  • Fix a bug where restore_savepoint() used in a non-Immediate durability transaction and when there are persistent savepoints newer than the one being restored, could fail with SavepointError::InvalidSavepoint, but the savepoint would actually be partially applied. The call now fails up front with SavepointError::ImmediateDurabilityRequired.
  • Fix a bug in restore_savepoint() where modifications made earlier in the transaction might not be reverted.
  • Fix a bug where renaming a table that was already modified in the same transaction could cause the database to become corrupted.
  • Fix a bug where calling restore_savepoint() after modifying a table in the same transaction could cause the table to become corrupted in a future transaction.
  • Fix a panic when delete_table() was called on a table that had been modified in the same transaction.
  • Fix a panic in restore_savepoint() when passed a Savepoint from a different Database. SavepointError::InvalidSavepoint is now returned instead.
  • Fix a bug where a transaction that created a persistent savepoint and was then aborted could cause the database file to grow excessively, until the Database was dropped.
  • Fix a panic in check_integrity() when called while another transaction is still alive. DatabaseError::TransactionInProgress is now returned instead.
  • Fix a bug where aborting a transaction that called restore_savepoint() with a savepoint when a newer savepoint existed could cause database space to be leaked.
  • Fix a bug where aborting a transaction that called restore_savepoint() would leave more recent savepoints invalid.
  • Improve performance when reading concurrently from multiple threads. Around 15% speedup on some benchmarks.
  • Optimize cache usage, and general write performance. Around 1.5x speedup on some benchmarks.
  • Optimize memory usage.
  • Other performance optimizations.

4.0.0 - 2026-04-02

  • Implement Drop on AccessGuardMut and AccessGuardMutInPlace, which requires that these be dropped before the Table they borrow from. This fixes a critical bug where the accessor could outlive the Table, and be dropped after the transaction had already committed. This could cause data loss due to the data in the accessor being written out after the transaction had already completed.
  • Remove Legacy type. To migrate off the Legacy type, use the Legacy type in the 3.x release and copy the data to a table with plain tuples, before upgrading to the 4.x release.
Commits
  • 6ed1f98 Bump version to 4.1.0
  • 0a87cb7 Update changelog
  • 03966a5 Require callers of get_page to provide a PageHint
  • a75927f Remove some TODO comments
  • a39779b Avoid allocating a page for a branch that will be immediately merged
  • 6374134 Document that Table{,Multimap}Definition::new panic on empty names
  • ba043e3 Avoid copying keys in leaf overwrite paths
  • f42c468 Fix MultimapValue::next_back() not decrementing remaining counter
  • 3756148 Clarify API contract for Key and Value traits
  • 4552372 Consolidate WriteTransaction savepoint lifecycle state
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 23, 2026
@n0bot n0bot Bot added this to iroh Apr 23, 2026
@github-project-automation github-project-automation Bot moved this to 🚑 Needs Triage in iroh Apr 23, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Netsim report & logs for this PR have been generated and is available at: LOGS
This report will remain available for 3 days.

Last updated for commit: 42d9053

@dependabot dependabot Bot force-pushed the dependabot/cargo/redb-4.1.0 branch 2 times, most recently from 9c0d65d to ff816ca Compare April 23, 2026 14:40
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 23, 2026

Documentation for this PR has been generated and is available at: https://n0-computer.github.io/iroh/pr/4172/docs/iroh/

Last updated: 2026-04-29T12:19:52Z

@dependabot dependabot Bot force-pushed the dependabot/cargo/redb-4.1.0 branch 3 times, most recently from 79333be to ad0c1f9 Compare April 28, 2026 12:48
Bumps [redb](https://github.com/cberner/redb) from 3.1.3 to 4.1.0.
- [Release notes](https://github.com/cberner/redb/releases)
- [Changelog](https://github.com/cberner/redb/blob/master/CHANGELOG.md)
- [Commits](cberner/redb@v3.1.3...v4.1.0)

---
updated-dependencies:
- dependency-name: redb
  dependency-version: 4.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/cargo/redb-4.1.0 branch from ad0c1f9 to b3dde85 Compare April 29, 2026 12:15
@dignifiedquire dignifiedquire merged commit 2b6e07f into main Apr 30, 2026
34 of 35 checks passed
@github-project-automation github-project-automation Bot moved this from 🚑 Needs Triage to ✅ Done in iroh Apr 30, 2026
@dependabot dependabot Bot deleted the dependabot/cargo/redb-4.1.0 branch April 30, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file rust Pull requests that update rust code

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

1 participant