LMDB: MDB_BAD_VALSIZE error #778
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#778
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I've seen this error twice now:
The previous time was when I attempted to migrate a node from Sled, but this time it was (of course) - when a Sled node tried to sync data to a node with LMDB configured.
Do you have objects with very long names? LMDB keys are limited to 511 bytes, and Garage uses 32 of those bytes to store the bucket ID, so you cannot have an object with a key longer than 479 bytes. If you need to store longer object names I think your only remaining choice will be to use sqlite (which is pretty good tbh, probably not noticably slower than lmdb)
I migrated this LMDB node over to SQLite in the morning:
It's been struggling to maintain the RPC connections to the other nodes and has using a single core at almost 100% usage the whole time (though it does have a resync queue of 5k items right now). Though, appears to be metadata partition related and it isn't using the network much.