We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Thanks for your awesome work! I found a bug when I test the rdb tool on my Mac about Redis7.2.
redis-server -v Redis server v=7.2.1 sha=00000000:0 malloc=libc bits=64 build=7b8617dd94058f85
redis-benchmark -c 1 --dbnum 0 -d 10000 -r 2000 -t rpush
// https://github.com/HDT3213/rdb/blob/887c2ca2556ffff3be967e74147ec5fe428af8b1/core/listpack.go#L105 case 0: // 1111 0000 -> str, 4 bytes len var lenBytes []byte lenBytes, err = readBytes(buf, cursor, 4) if err != nil { return nil, 0, err } //strLen := int(binary.BigEndian.Uint32(lenBytes)) strLen := int(binary.LittleEndian.Uint32(lenBytes)) result, err := readBytes(buf, cursor, strLen) if err != nil { return nil, 0, err } //length = readVarInt(buf, cursor) // read element length length = uint32(len(result)) // read element length return result, length, nil
The text was updated successfully, but these errors were encountered:
run into the same panic error. has this change been tested?
Sorry, something went wrong.
Sorry for the late reply, this issue has been fixed in v1.0.13
No branches or pull requests
Thanks for your awesome work! I found a bug when I test the rdb tool on my Mac about Redis7.2.
The text was updated successfully, but these errors were encountered: