Skip to content

feat: parity-db with ahash#1478

Open
Klapeyron wants to merge 1 commit intomainfrom
feat/parity-db-ahash
Open

feat: parity-db with ahash#1478
Klapeyron wants to merge 1 commit intomainfrom
feat/parity-db-ahash

Conversation

@Klapeyron
Copy link
Copy Markdown
Contributor

@Klapeyron Klapeyron commented May 8, 2026

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve hashing in parity-db

1 participant