rosedblabs / rosedb

Lightweight, fast and reliable key/value storage engine based on Bitcask.

Home Page:https://rosedblabs.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed under ARM/x86 architecture

gendalf opened this issue · comments

Problem with alignment on ARM (32bit) systems

runtime/internal/atomic.panicUnaligned()
	.../runtime/internal/atomic/unaligned.go:8 +0x24
runtime/internal/atomic.Store64(0x205416c, 0x0)
	.../runtime/internal/atomic/atomic_arm.s:291 +0x14
github.com/flower-corp/rosedb.(*RoseDB).loadIndexFromLogFiles.func1(0x0, 0x20ac630)
	.../go/pkg/mod/github.com/flower-corp/rosedb@v1.1.1/index.go:208 +0x268
created by github.com/flower-corp/rosedb.(*RoseDB).loadIndexFromLogFiles
	.../go/pkg/mod/github.com/flower-corp/rosedb@v1.1.1/index.go:216 +0x88