The GitHub Actions job "CI" on kvrocks.git has failed.
Run started by GitHub user enjoy-binbin (triggered by torwig).

Head commit for run:
b824be1f67c9c9ea5d1f4d6d3f76a39105b3ee18 / Binbin <binloveplay1...@qq.com>
Update error message and add the ERR error code

We now have some error messages that do not return
an ERR error code:
```
127.0.0.1:6666> cluster nodes
Cluster mode is not enabled
```

As far as i know this doesn't affect the client libs,
and doesn't affect the users. But I think it's right
to add the error code.

Note that Redis will actually count error messages and
standardize the error codes, like:
```
127.0.0.1:6379> info Errorstats
 # Errorstats
errorstat_ERR:count=2
errorstat_EXECABORT:count=1
errorstat_WRONGTYPE:count=1
```

We mixed using the status message and error output in
some places, this PR checks all redis::Error calls and
use error status to replace it. (Only the ERR case is
handled, others are not handled yet.)

Report URL: https://github.com/apache/kvrocks/actions/runs/5599350355

With regards,
GitHub Actions via GitBox

Reply via email to