-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent {DECR}
: Error message for out-of-range OR non-number values differs from Redis error message
#763
Comments
This issue has been raised based on findings for issue. |
@mghildiy , are your expected and observed cases referring to the same scenario? I ran the same scenario as you, but encountered the same error for both (which is expected). |
Error message needs to be same as redis. |
@mghildiy The current error message is the same as redis only. Can you please recheck? |
Hi @mghildiy , I tried running latest dice db code using go and I am getting following: |
Master branch exhibits same bheaviour as redis while my findings were based on latest dokcer image. |
Steps to reproduce
SET mykey "234293482390480948029348230948"
DECR mykey
SET mykey "Hello"
DECR mykey
Expected output
The expected output when the above set of commands when run on Redis
Observed output
The observed output when the above set of commands when run on DiceDB
The steps to run the test cases are mentioned in the README of the dice-tests repository.
Expectations for resolution
This issue will be considered resolved when the following things are done
dice
code to meet the expected behaviorYou can find the tests under the
tests
directory of thedice
repository and the steps to run are in the README file. Refer to the following links to set up DiceDB and Redis 7.2.5 locallyThe text was updated successfully, but these errors were encountered: