-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
What version of Go are you using (go version
)?1.12.5
$ go version
What version of Badger are you using?latest
Does this issue reproduce with the latest master?yes
What are the hardware specifications of the machine (RAM, OS, Disk)?N/A
What did you do?Compile 32 bit
What did you expect to see?
What did you see instead?
./../github.com/dgraph-io/badger/table/builder.go:134:27: constant 4294967295 overflows int
../../github.com/dgraph-io/badger/table/builder.go:186:47: constant 4294967295 overflows int
../../github.com/dgraph-io/badger/table/builder.go:204:28: constant 4294967295 overflows int
../../github.com/dgraph-io/badger/table/builder.go:272:17: constant 4294967295 overflows int
../../github.com/dgraph-io/badger/table/builder.go:304:17: constant 4294967295 overflows int
In builder.go everywhere it has math.MaxUint32 I think it should be math.MaxInt32.
I made this change locally and all is OK
Metadata
Metadata
Assignees
Labels
No labels