Skip to content
New issue

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

LZF encoding bit is wrong in redis-2.8.13 #55

Open
sagrada1788 opened this issue May 14, 2015 · 0 comments
Open

LZF encoding bit is wrong in redis-2.8.13 #55

sagrada1788 opened this issue May 14, 2015 · 0 comments

Comments

@sagrada1788
Copy link

"""
Compressed Strings
First read the section “Length Encoding”, specifically the part when the first two bits are 11. In this case, the remaining 6 bits are read.
If the value of those 6 bits is 4, it indicates that a compressed string follows.
"""
Hint above is not correct.
In fact, in version 2.8.13, it is 'c3' means lzf compressed instead of 'c4'.
So "If the value of those 6 bits is 4" should change to "If the value of those 6 bits is 3"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant