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

OBJECT ENCODING - needs an update to use listpack? #2658

Closed
srgsanky opened this issue Feb 7, 2024 · 2 comments · Fixed by #2677
Closed

OBJECT ENCODING - needs an update to use listpack? #2658

srgsanky opened this issue Feb 7, 2024 · 2 comments · Fixed by #2677

Comments

@srgsanky
Copy link

srgsanky commented Feb 7, 2024

https://redis.io/commands/object-encoding/ specifies that lists, hashes and sorted sets are represented using ziplist. Since Redis 7 we use listpack based on the release notes (https://github.com/redis/redis/releases/tag/7.0-rc1).

Replace ziplist with listpack in Hash, List, Zset (redis/redis#8887, redis/redis#9366, redis/redis#9740)

Does this page need an update?

RAW INT HT ZIPMAP LINKEDLIST ZIPLIST INTSET SKIPLIST EMBSTR QUICKLIST STREAM LISTPACK
STRING
LIST
SET
ZSET
HASH
MODULE
STREAM

I think we started using listpack for list (redis/redis@2168ccc66) and sets (redis/redis@4e472a1a7) from 7.2.

@enjoy-binbin
Copy link
Collaborator

yes, the page should be update, do you want to update it?

@srgsanky
Copy link
Author

srgsanky commented Mar 4, 2024

Sorry, not at the moment. If you or anyone else wants to update it, please go for it.

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

Successfully merging a pull request may close this issue.

2 participants