Skip to content

feat: parity-db with ahash#1478

Merged
gilescope merged 1 commit into
mainfrom
feat/parity-db-ahash
May 12, 2026
Merged

feat: parity-db with ahash#1478
gilescope merged 1 commit into
mainfrom
feat/parity-db-ahash

Conversation

@Klapeyron

@Klapeyron Klapeyron commented May 8, 2026

Copy link
Copy Markdown
Contributor

Overview

Updates the workspace parity-db dependency to the Midnight fork (midnightntwrk/parity-db) instead of the crates.io crate. That fork lowers the database background flush threshold from 64 → 16 and switches hashing to ahash, with the goal of more predictable WAL flushing and better hash throughput under load.

Fork PRs:

Upstream PR: paritytech/parity-db#250

📌 Submission Checklist

  • All commits are signed off (git commit -s) for the DCO
  • Changes are backward-compatible (or flagged if breaking)
  • Pull request description explains why the change is needed
  • Self-reviewed the diff
  • I have included a change file, or skipped for this reason:
  • If the changes introduce a new feature, I have bumped the node minor version
  • Update documentation (if relevant)
  • Updated AGENTS.md if build commands, architecture, or workflows changed
  • No new todos introduced

🧪 Testing Evidence

Please describe any additional testing aside from CI:

  • Additional tests are provided (if possible)

🔱 Fork Strategy

  • Node Runtime Update
  • Node Client Update
  • Other:
  • N/A

Links

@Klapeyron Klapeyron requested a review from a team as a code owner May 8, 2026 12:27
@Klapeyron Klapeyron force-pushed the feat/parity-db-ahash branch from 435e017 to ea5d99c Compare May 8, 2026 12:28
@Klapeyron Klapeyron linked an issue May 11, 2026 that may be closed by this pull request
@Klapeyron Klapeyron force-pushed the feat/parity-db-ahash branch from ea5d99c to 70b6f18 Compare May 11, 2026 07:20
@Klapeyron Klapeyron self-assigned this May 11, 2026
@Klapeyron Klapeyron force-pushed the feat/parity-db-ahash branch from 70b6f18 to 03f845f Compare May 11, 2026 07:22
Signed-off-by: Tomasz Bartos <tomasz.bartos@shielded.io>
@Klapeyron Klapeyron force-pushed the feat/parity-db-ahash branch from e5e4158 to bbd9bc0 Compare May 11, 2026 07:23
@Klapeyron

Copy link
Copy Markdown
Contributor Author

Upstream changes paritytech/parity-db#250

@gilescope gilescope added this pull request to the merge queue May 12, 2026
Merged via the queue into main with commit 71beaa1 May 12, 2026
35 checks passed
@gilescope gilescope deleted the feat/parity-db-ahash branch May 12, 2026 12:37
@DarrenOliveiro-Priestnall DarrenOliveiro-Priestnall added component:node Node component priority:high P2 — current sprint labels May 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component:node Node component priority:high P2 — current sprint

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve hashing in parity-db

3 participants