badger icon indicating copy to clipboard operation
badger copied to clipboard

Fast key-value DB in Go.

Results 125 badger issues
Sort by recently updated
recently updated
newest added

Why hasn't a version been released for a year?

When BadgerDB tries to open a corrupted dababase, sometime it would just panic(seems that this panic only occurs on Windows): ``` panic: runtime error: index out of range [3] with...

This contribution fixes a potential deadlock in badger. See this [thread](https://discuss.dgraph.io/t/deadlock-in-badger-v3/17548) for more details. The fix is straightforward and should not do much harm.

status/needs-attention
area/crash

Hey there :wave:, we're doing an informal survey to gauge the interest in this project and it would be very helpful if you could answer the following questions- - If...

help wanted
skip/stale

Currently [appveyor tests](https://ci.appveyor.com/project/manishrjain/badger/builds/42502297) are failing in multiple places on Windows. --- This change is [](https://reviewable.io/reviews/dgraph-io/badger/1775)

Opening branch and PR for fix to race condition introduced by previous merge. See discussion [here](https://github.com/dgraph-io/badger/pull/1784).

`s.buf` bytes may be not aligned, so the correct implementation should take that into consideration. **Update** Switched to use `makeAlignedBuf` instead. --- This change is [](https://reviewable.io/reviews/dgraph-io/badger/1272)

status/confirmed

When I was trying to change the db engine to badgerdb in some of my projects, I found the iterator Seek with prefix was pretty slow in the following situation:...

area/performance

env: GOARCH=386 GOOS=windows won't crash on GOARCH=amd64 option `MemTableSize` smaller, easier appear panic log: ``` log panic({0x1e4e7c0, 0x3e58ac8}) /usr/local/go/src/runtime/panic.go:838 +0x1ba os.(*File).Name(...) /usr/local/go/src/os/file.go:57 github.com/dgraph-io/badger/v3/table.(*Table).block(0x1b01a770, 0x6, 0x1) /go/pkg/mod/github.com/dgraph-io/badger/[email protected]/table/table.go:583 +0x85d github.com/dgraph-io/badger/v3/table.(*Iterator).seekHelper(0x2106a0e0, 0x6, {0x23272078,...