Skip to content

Conversation

Frando
Copy link
Member

@Frando Frando commented Sep 30, 2025

Description

Depends on n0-computer/iroh-blobs#174

The recently released redb v3 has incompatible changes to the database format. The recommended upgrade procedure is to upgrade the database with Database::upgrade on redb v2.6+. The upgrade has to be done on redb v2, not v3. See https://github.com/cberner/redb/blob/master/CHANGELOG.md#removes-support-for-file-format-v2.

This updates redb to 2.6 and performs the upgrade when opening the database. Calling upgrade on an already upgraded database is a no-op.

With this merged in the next release, we can then update redb to v3 in the version after.

Breaking Changes

Notes & open questions

Change checklist

  • Self-review.
  • Documentation updates following the style guide, if relevant.
  • Tests if relevant.
  • All breaking changes documented.

Copy link

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

Last updated: 2025-09-30T07:43:21Z

@n0bot n0bot bot added this to iroh Sep 30, 2025
@github-project-automation github-project-automation bot moved this to 🏗 In progress in iroh Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

Successfully merging this pull request may close these issues.

2 participants