ErrLookup › dgraph-io/badger

dgraph-io/badger

Fast key-value DB in Go. · Go · 67 source files

Analyzed at 2a001d466f on 2026-09-05. 130 documented errors.

Code / MessageTypeSeverityTags
Assert failed
console error
cannot open DB because the external magic number doesn't…
exception error
ErrChecksumMismatch
checksum mismatch
error_code error
errTruncate
Do truncate
error_code error
errStop
Stop iteration
error_code error
Throttle Do Done mismatch
panic error
Buffer length: greater than file size: . Manifest file…
exception error
ErrCommitAfterFinish
Batch commit not permitted after finish
error_code error
ErrEOF
ErrEOF: End of file
error_code error
Cannot use NewTransactionAt with managedDB=false. Use…
panic error go, badger, managed-transactions, panic, api-misuse
value log file already marked for deletion fid
exception error
errNoMerge
No need for merge
error_code info badger, merge-operator, sentinel-error, internal
MANIFEST file has invalid manifestChange op
exception error
ErrGCInMemoryMode
Cannot run value log GC when DB is opened in InMemory mode
error_code error badger, in-memory, value-log-gc, configuration
with size exceeded limit.
exception error badger, key-size-limit, lsm, storage
CommitTs cannot be zero. Please use commitAt instead
exception error badger, managed-mode, commit-timestamp, transaction
errBadChecksum
manifest has checksum mismatch
error_code error
MANIFEST invalid, table
exception error
errBadMagic
manifest has bad magic
error_code error
. Path= . Error=
exception error storage, badger, value-log, file-io
Arena too small, toWrite
panic critical go, badger, skiplist, memory, panic
ErrNilCallback
Callback cannot be nil
error_code error badger, api-misuse, nil-argument, subscriptions
Invalid range
exception error go, badger, input-validation, trie
This transaction has been discarded. Create a new one
panic error panic, discarded-transaction, iterator, lifecycle
Invalid value pointer offset
exception error badger, value-log, corruption, crash-recovery
Cannot have 1 compactor. Need at least 2
exception error badger, configuration, compaction, options-validation
cannot use NewManagedWriteBatch with managedDB=false. Use…
panic error go, badger, managed-transactions, write-batch, panic
Cannot acquire directory lock on
exception error go, badger, file-lock, aix, concurrency
cannot use NewWriteBatchAt with managedDB=false. Use…
panic error go, badger, managed-transactions, write-batch, panic
Invalid read: Len: read at:[ : ]
exception error badger, value-log, corruption, truncated-entry
Cannot use badger in Disk-less mode with Dir or ValueDir set
exception error badger, configuration, in-memory, options-validation
file with ID: not found
exception error badger, value-log, stale-pointer, data-loss
Empty value: %+v
exception error go, badger, value-log, corruption, data-integrity
Attempting to drop data in read-only mode.
panic error badger, read-only, panic, drop-all
ErrDBClosed
DB Closed
error_code error badger, closed-db, lifecycle, race-condition
Must have caught a nil callback for txn.CommitWith
panic critical panic, nil-callback, internal-invariant, commit-callback
keyRange not found
console critical badger, compaction, invariant-violation, manifest, fatal
Update can only be used with managedDB=false.
panic error panic, managed-transactions, public-api, mode-mismatch
ErrNoRewrite
Value log GC attempt didn't result in any cleanup
error_code info badger, garbage-collection, value-log, sentinel-error
ErrGCInReadOnlyMode
Cannot run value log GC when DB is opened in ReadOnly mode
error_code error badger, read-only, value-log-gc, configuration
ErrTruncateNeeded
Log truncate required to run DB. This might result in data loss
error_code error badger, corruption, wal, truncation, read-only
Unclosed iterator at time of Txn.Discard.
panic error badger, iterator, transaction-lifecycle, panic
initIndex crashed
exception critical data-corruption, panic, mmap, storage
Unable to parse log id.
exception error badger, storage, corrupt-file, startup
Cannot use SetDiscardTs with managedDB=false.
panic error go, badger, managed-transactions, garbage-collection, panic
invalid checksum length. Either the data is corrupted or…
exception critical compression, checksum, data-corruption, configuration
Cannot use GetSequence in read-only mode.
panic error badger, panic, sequence, read-only
error during flatten in StreamWriter
exception error badger, streamwriter, compaction, flatten
ReadTs should not be retrieved for managed DB
panic error badger, managed-mode, read-timestamp, panic
Cannot use CommitAt with managedDB=false. Use Commit…
panic error go, badger, managed-transactions, commit, panic
File already exists
exception error badger, memtable, file-conflict, startup
manifest records table
exception error manifest, maxlevels, configuration
txn callback is nil
panic critical panic, goroutine, internal-invariant, commit-callback
errFillTables
Unable to fill tables
error_code info compaction, sentinel-error, benign
Filesizes cannot be zero. Targets are not set
exception error compaction, targets, internal-api
checksum type not supported
panic error panic, checksum, badger
ErrBlockedWrites
Writes are blocked, possibly due to DropAll or Close
error_code error badger, concurrency, lifecycle, writes-blocked
wb.err: err
exception error error, write-batch, async, error-wrapping, flush
This API can not be called in managed mode.
panic error badger, panic, managed-mode, api-misuse
ErrManagedTxn
Invalid API request. Not allowed to perform this action using ManagedDB
error_code error badger, managed-db, transactions, api-misuse
Equality can happen only on base level
panic critical go, badger, skiplist, concurrency, panic
cannot use NewWriteBatch in managed mode. Use…
panic error panic, managed-transactions, write-batch, mode-mismatch
ErrInvalidRequest
Invalid request
error_code error badger, validation, arguments, garbage-collection
Base level can't be zero.
panic critical panic, compaction, internal-invariant
errNoRoom
No room for write
error_code error badger, write, backpressure, closed
Cannot flatten in read-only mode.
panic error badger, panic, flatten, read-only
file does not exist for table
exception critical manifest, recovery, data-loss
ErrValueLogSize
Invalid ValueLogFileSize, must be in range [1MB, 2GB)
error_code error badger, configuration, validation, storage
ErrConflict
Transaction Conflict. Please retry
error_code warning badger, transaction, concurrency, optimistic-locking
ErrRejected
Value log GC request rejected
error_code warning badger, garbage-collection, concurrency, lifecycle
Unsupported compression type
exception error compression, options, table-builder
Block size cannot be zero
exception error options, validation, block-size
DB Closed
panic error panic, db-closed, iterator, shutdown-order
ErrTxnTooBig
Txn is too big to fit into one request
error_code error badger, transaction, batching, write-path
Trying to commit a discarded txn
exception error badger, transaction, double-commit, lifecycle
invalid checksum length in footer. Data corrupted
exception critical data-corruption, checksum, footer, storage
Unable to find fid
exception warning go, badger, value-log, garbage-collection, concurrency
ErrEncryptionKeyMismatch
Encryption key mismatch
error_code critical badger, encryption, config, key-rotation
error opening table
exception critical corruption, sstable, recovery
Ptrs and Entries don't match: %+v
exception critical badger, internal, invariant-violation
This API can only be called in managed mode.
panic error badger, panic, managed-mode, api-misuse
ErrBannedKey
Key is using the banned prefix
error_code error badger, validation, namespaces, multi-tenant
Nil callback provided to CommitWith
panic error panic, nil-callback, public-api, commit
Invalid ValueThreshold, must be less or equal to
exception error badger, configuration, validation
Request size offset is bigger than maximum offset
exception error badger, value-log, request-size, configuration
ErrInvalidDump
Data dump cannot be read
error_code error badger, backup, restore, data-corruption
Unable to open mem dir.
exception critical badger, filesystem, permissions, startup
SetEntryAt can only be used in managed mode. Use SetEntry…
exception error error, managed-transactions, write-batch, versioning
vlogPercentile must be within range of 0.0-1.0
exception error badger, configuration, validation
Unable to do incremental writes because MemTable has data
exception error badger, streamwriter, incremental-write, memtable
no manifest found, required for read-only db
exception error manifest, read-only, open
Cannot ban namespace in read-only mode.
panic error badger, read-only, panic, namespace
invalid index length in footer. Data corrupted
exception critical data-corruption, footer, index, storage
Cannot find directory
exception error badger, read-only, filesystem, missing-directory
ErrNamespaceMode
Invalid API request. Not allowed to perform this action when NamespaceMode is…
error_code error badger, namespace, configuration, api-misuse
Backup: Item Version
exception error badger, backup, incremental-backup, versioning
ERROR: compression level
exception error badger, configuration, compression, superflag
write performed on closed stream
panic critical badger, panic, streamwriter, concurrency
file already exists
exception error filesystem, file-conflict, sst
keys not in sorted order
exception error sorted-order, sstable, data-loading