#1133·bbolt

Go version depend bucket header size that may cuase go version upgrade issuse for DB

Author: udan-jayanithCreated Dec 30, 2025Updated Sep 6, 2026
Labelsstage/tracked

In go.etcd.io/bbolt/internal/common bucket header size is

go
const BucketHeaderSize = int(unsafe.Sizeof(InBucket{}))

"unsafe package may be non-portable and are not protected by the Go 1 compatibility guidelines." https://pkg.go.dev/unsafe#pkg-overview
So header size for structs might change in the future Go versions.