LMDB: MDB_BAD_VALSIZE error #778
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#778
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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.