-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 EXPIRE
: EXPIRE with big integer overflows when converted to milliseconds
#672
Comments
@lucifercr07 of Thanks!! |
@Abh-ay Thanks for picking this up. Assigned |
Hi @AshwinKul28 @lucifercr07 |
@Abh-ay This was changed recently. Ideally, if we are not setting up an expiry time and returning 1 is not good behavior I feel. So we have two options, keep it consistent as per our behaviour or make it consistent with redis. To make sure it is consistent with the redis, we can ignore if the value is greater than what do you think? @lucifercr07 |
Yes @AshwinKul28 bit confused behaviour of redis, |
You can raise a PR in the dice-repo, link this issue there. we will review it. Thanks @Abh-ay |
Hi @AshwinKul28 @lucifercr07 |
Hello @Abh-ay, There has been no activity on this issue for the past 5 days. We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work. Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out. Thanks again. |
Hi @arpitbbhayani |
Hello @Abh-ay, There has been no activity on this issue for the past 5 days. We are really eager to close this issue at the earliest, hence if we continue to see the inactivity, we will have to reassign the issue to someone else. We are doing this to ensure that the project maintains its momentum and others are not blocked on this work. Just drop a comment with the current status of the work or share any issues you are facing. We can always chip in to help you out. Thanks again. |
Steps to reproduce
Run the commands mentioned in the test on Line 110 in the file https://github.com/AshwinKul28/dice-tests/blob/main/tcltests/unit/expire.tcl#L110.
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
repository code to meet the expected behavior.You 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: