You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
Redis seems to crash with the empty command on JSON.DEL
Some environment information:
go-redis/redis (client driver)
Redis version redis_version:4.0.8, with rejson extension, running with ReJSON docker
Problem explained
I'm sending a bulk string to redis, with optional value as empty string and my redis crashes.
After debugging it a bit, this is the actual data being written to Redis:
*3
$8
JSON.DEL
$7
someKey
$0
It works (not crashing the redis) when I'm sending it with none empty string:
*3
$8
JSON.DEL
$7
someKey
$3
key
I'm debugging it my self now hopefully I'll open PR in the next few days
Thanks a lot
The text was updated successfully, but these errors were encountered:
Hey,
Redis seems to crash with the empty command on JSON.DEL
Some environment information:
Problem explained
I'm sending a bulk string to redis, with optional value as empty string and my redis crashes.
After debugging it a bit, this is the actual data being written to Redis:
It works (not crashing the redis) when I'm sending it with none empty string:
I'm debugging it my self now hopefully I'll open PR in the next few days
Thanks a lot
The text was updated successfully, but these errors were encountered: