-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
arm64: mremap size mismatch #32
Comments
I can confirm the same issue on and Android phone (arm64) on Termux. |
Charm KV uses BadgerDB under the hood, I'd take this issue there: https://github.com/dgraph-io/badger |
Hi, same here, self-hosting attempt, charm version v0.12.1 and skate version v0.2.0, ARM64 (Neoverse-N1), Oracle Linux 8.6:
EDIT: |
can someone confirm this is not a charm issue? I will open a badger issue, but would prefer someone who knows the code to confirm. maybe they can update the badger db minor or something and that will help? i thought badger supported arm64. |
nevermind i'm not waiting another year and a half :-) confirmed charm is using the latest version of v3, i'm not sure i'm prepared to try a major version upgrade and even if it worked locally i don't know if that's in the cards for the cloud backend. at this point, i've traced through charm/kv until it's calling db.open etc inside badger. it's likely in there, and they haven't fixed it in any v3 version. maybe v4 has a fix, or it's unpatched altogether-- despite similarities to dgraph-io/ristretto#281 |
in the interim since last update, this merged into ristretto: there isn't a tag for it yet, here is a ticket for the tag: and then also the ristretto update needs to make it into badger: this change could resolve both these issues: i don't have time today, but if one wanted to manually update their fork of badger to use latest main branch of ristretto-- they could test whether this resolves right now. |
"charm kv" is not working right on an arm64 system (Raspberry Pi, Debian Buster).
Not really sure what's going on, but it has a strong smell of being this:
https://discuss.dgraph.io/t/error-mremap-size-mismatch-on-arm64/15333
for which a similar issue has this patch:
dgraph-io/ristretto#281
The text was updated successfully, but these errors were encountered: