Skip to content

goleveldb: fork syndtr/goleveldb at upstream HEAD#14

Merged
marcopeereboom merged 7 commits into
mainfrom
marco/goleveldb
Jun 9, 2026
Merged

goleveldb: fork syndtr/goleveldb at upstream HEAD#14
marcopeereboom merged 7 commits into
mainfrom
marco/goleveldb

Conversation

@marcopeereboom

@marcopeereboom marcopeereboom commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Fork of syndtr/goleveldb at upstream HEAD commit 126854a (Jul 2022). Upstream is unmaintained since then.

Module path changed to github.com/hemilabs/x/goleveldb. All internal imports rewritten. No custom code changes — pure upstream snapshot.

Changes over the current heminetwork pin (2ae1ddf, Aug 2021)

18 upstream commits, notable:

  • Heap-accelerated mergedIterator (678c1e8): compaction iterator uses container/heap instead of linear scan across level iterators.
  • Cache implementation overhaul (4bbca4e): sorted bucket nodes, simplified Cacher interface, shared Cacher across cache maps.
  • Table file leak fix (126854a): leaked file handles when manifest was rotated.
  • MakeBatchWithConfig API (d1e9e74).
  • Cache statistics (943eb65): exposed via DBStats.

@marcopeereboom marcopeereboom requested a review from a team as a code owner June 9, 2026 10:43
@socket-security

socket-security Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedgithub.com/​onsi/​gomega@​v1.19.073100100100100
Addedgithub.com/​onsi/​ginkgo@​v1.16.590100100100100
Addedgithub.com/​stretchr/​testify@​v1.7.294100100100100
Addedgithub.com/​golang/​snappy@​v0.0.4100100100100100

View full report

@marcopeereboom marcopeereboom changed the title goleveldb: fork syndtr/goleveldb at 126854a goleveldb: fork syndtr/goleveldb Jun 9, 2026
@marcopeereboom marcopeereboom changed the title goleveldb: fork syndtr/goleveldb goleveldb: fork syndtr/goleveldb at upstream HEAD Jun 9, 2026
Pristine import of upstream goleveldb master HEAD (126854a, the final
upstream commit). Module path rewritten to github.com/hemilabs/x/goleveldb,
go directive bumped to 1.23, all internal imports updated.

No behavioral changes in this commit; this is the base for subsequent
correctness fixes. Forked because upstream is unmaintained since 2022.

Forked from https://github.com/syndtr/goleveldb (MIT).
Comment thread leveldb/.travis.yml Outdated
Comment thread goleveldb/go.mod Outdated
Comment thread goleveldb/README.md Outdated
Comment thread goleveldb/README.md Outdated
@@ -0,0 +1,40 @@
# Hemi goleveldb

[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this also needs to be changed, it's pointing to the original BSD 2 license

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@marcopeereboom marcopeereboom merged commit 45f2d3c into main Jun 9, 2026
7 of 9 checks passed
@marcopeereboom marcopeereboom deleted the marco/goleveldb branch June 9, 2026 14:38
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.

3 participants