jihuayu opened a new issue, #2012: URL: https://github.com/apache/kvrocks/issues/2012
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/kvrocks/issues) and found no similar issues. ### Version unstable ### Minimal reproduce step ```shell 127.0.0.1:6666> set a test OK 127.0.0.1:6666> lpush a xx (error) ERR Invalid argument: WRONGTYPE Operation against a key holding the wrong kind of value 127.0.0.1:6666> XADD a * a hello (error) ERR Invalid argument: metadata is too short ``` ### What did you expect to see? `XADD a * a hello` command return "ERR Invalid argument: WRONGTYPE Operation against a key holding the wrong kind of value" ### What did you see instead? `XADD a * a hello` command return "ERR Invalid argument: metadata is too short" ### Anything Else? Other stream commands may also have this problem. ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
