when executing " XPENDING mystream group55 IDLE 9000 - + 10" ,redis report a error: ERR syntax error

Is there some errors in my command?

Comment From: Liufeiyang0703

when I delete the word "IDLE" ,this command go correct.I wanna know why?

Comment From: Liufeiyang0703

redis version is 6.2.4

Comment From: sundb

I suspect that the redis that you running is not 6.2.4, can you use redis-cli info|gre redis_version to check again?

Comment From: Liufeiyang0703

I suspect that the redis that you running is not 6.2.4, can you use redis-cli info|gre redis_version to check again?

thanks,I find that my version is 5.0.7,but why the dir name is 6.2.4. I get this from https://redis.io/download/ ,how can I run redis with a higher version?

Comment From: sundb

Can you give your steps from compile to run?

Comment From: hwware

I suspect that the redis that you running is not 6.2.4, can you use redis-cli info|gre redis_version to check again?

thanks,I find that my version is 5.0.7,but why the dir name is 6.2.4. I get this from https://redis.io/download/ ,how can I run redis with a higher version?

you could get version 6.2.7 from link https://download.redis.io/releases/redis-6.2.7.tar.gz Thanks