When I was operating Redis, my colleague asked me a problem: it used the hset command, and assembled the wrong number of parameters, but returned "wrong number of arguments for HMSET"

After checking the problem, we finally located here https://github.com/redis/redis/blob/4.0/src/t_hash.c

The underlying code of both commands is hsetcommand.

Do we need to modify the code now, because it may affect some beginners and unskilled users.

Comment From: itamarhaber

Hi @631086083

I verified that this has been resolved in recent versions of Redis - please consider upgrading, as v4 is no longer maintained.