dgraph-io/badger

Documented errors, page 2 of 2. Back to dgraph-io/badger

Code / MessageTypeSeverityTags
ErrKeyNotFound
Key not found
error_code info badger, key-not-found, read-path
Valuethreshold greater than max batch size of . Either…
exception error badger, configuration, validation
ErrZeroBandwidth
Bandwidth must be greater than zero
error_code error badger, sequence, validation, configuration
opt.Prefix should be nil for NewKeyIterator.
panic error panic, iterator, options-validation, prefix
there is a non-empty level
exception error compaction, levels, internal-api
Duplicate file found. Please delete one.
exception error go, badger, value-log, duplicate-files, data-integrity
Index Cache must be set for encrypted workloads
panic error encryption, configuration, panic, index-cache
Invalid filename
exception error filesystem, filename, parsing
manifest has unsupported version
exception error
ErrDiscardedTxn
This transaction has been discarded. Create a new one
error_code error badger, transaction, lifecycle, api-misuse
BlockCacheSize should be set since compression/encryption…
panic error badger, panic, configuration
ErrWindowsNotSupported
Read-only mode is not supported on Windows
error_code error badger, windows, read-only, platform-limitation
while file.stat on file
exception error badger, memtable, io, truncate
While setting banned keys
exception critical badger, open, io, corruption
Cannot use GetSequence with managedDB=true.
panic error badger, panic, sequence, managed-db
ErrEmptyKey
Key cannot be empty
error_code error badger, validation, key, api-misuse
failed to read block offset from index. Data corrupted
exception critical data-corruption, flatbuffers, index, encryption
Unable to open log dir.
exception error go, badger, filesystem, io, config
ERROR: compression type
exception error badger, configuration, compression, superflag
ERROR: Invalid badger.compression argument
exception error badger, configuration, compression, superflag, parsing
ErrInvalidKey
Key is using a reserved !badger! prefix
error_code error badger, validation, reserved-prefix, key
block out of index
exception error iterator, index, bounds, storage
ErrThresholdZero
Value log GC can't run because threshold is set to zero
error_code error badger, garbage-collection, configuration, storage
invalid cache type
exception warning badger, cache, invalid-argument
while parsing ignore bytes
exception error go, badger, input-validation, trie
ErrReadOnlyTxn
No sets or deletes are allowed in a read-only transaction
error_code error badger, transaction, read-only, api-misuse
invalid table size in footer. Data corrupted
exception critical data-corruption, footer, truncated-file, storage
ErrInvalidEncryptionKey
Encryption key's length shouldeither 16, 24, or 32 bytes
error_code error badger, encryption, validation, key-length
ErrInvalidDataKeyID
Invalid datakey id
error_code error badger, encryption, key-registry, data-key
ErrPlan9NotSupported
Read-only mode is not supported on Plan 9
error_code error badger, plan9, read-only, platform-limitation