-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[BUG]: arm64 inconsistencies #2027
Labels
kind/bug
Something is broken.
Comments
I have hit this same issue with
From what I see, similar issues in Ristretto are most likely related: |
mangalaman93
pushed a commit
to dgraph-io/ristretto
that referenced
this issue
Dec 11, 2023
In #281 mmap size check has been disabled for the ARM64 arch. But we at [anytype](https://github.com/anyproto) quite often face the same problem on the arm arch on Android devices (armeabi-v7a target) with the [latest badger v4.2.0](https://github.com/dgraph-io/badger/releases/tag/v4.2.0) and [latest ristretto v0.1.1](https://github.com/dgraph-io/ristretto). ```memtables error: while opening fid: 1 error: while updating skiplist error: mremap size mismatch: requested: 1479692 got: 67108864``` This PR extends the #281 to cover all arm architectures. Here is one more mention of this issue dgraph-io/badger#2027 (comment) It would also make sense to create the PR on top of v0.1.1 release, but there is not release branch to base on
This was referenced Feb 6, 2024
Closed
This issue has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open. |
Lack of response is quite indicative so far.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Badger are you using?
v3.2103.2
What version of Go are you using?
charmbracelet/charm#32
Have you tried reproducing the issue with the latest release?
No
What is the hardware spec (RAM, CPU, OS)?
arm64
What steps will reproduce the bug?
try to open
try to open again
it errors
Expected behavior and actual result.
try to open
try to open again
it doesn't error on second try
Additional information
Error: while opening memtables error: while opening fid: 3 error: while updating skiplist error: mremap size mismatch: r
charmbracelet/charm#242
Error: During db.vlog.open error: while truncating last value log file: /root/.local/share/charm/cloud.charm.sh/kv/charm.sh.kv.user.default/000004.vlog error: mremap size mismatch: requested: 20 got: 20000000
Error: while opening memtables error: while opening fid: 9 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
Error: while opening memtables error: while opening fid: 2 error: while updating skiplist error: mremap size mismatch: requested: 20 got: 134217728
Error: while opening memtables error: while opening fid: 1 error: while updating skiplist error: mremap size mismatch: requested: 148 got: 134217728
The text was updated successfully, but these errors were encountered: