redis / redis-py

Redis Python client
MIT License
12.4k stars 2.48k forks source link

Hiredis - Segmentation fault with RESP3 map inside set #3274

Open vladvildanov opened 3 weeks ago

vladvildanov commented 3 weeks ago

Hey, community! Redis-py team here!

We want to share with you a bug that we found that occurs only in RESP3 mode and only with hiredis-py as a parsing option. More details could be found here.

If you experience such issue, we are recommending switching to a native redis-py parser, as a temporary solution.

Due to the limitations of the Set data type in a Python (non-hashable types cannot be stored in a set), we're planning to change the interface for the commands that currently returns Set to something like List/Array. Feel free to share your thoughts or concerns!