It seems the size of the table ( 330278778) is smaller than number of bytes trying to be read ( 3424104960) resulting in the negative slice index which than throws the error.
So probably the table itself or the checksum length is somehow malformed.
Or at this line there may be some integer wrap around: badger/table.go at v3.2103.0 · dgraph-io/badger · GitHub
1 Like