Inconsistent `EXPIRE`: EXPIRE with GT option on a key without ttl
Steps to reproduce
Run the commands mentioned in the test on Line 511 in the file https://github.com/AshwinKul28/dice-tests/tree/main/tcltests/unit/expire.tcl#L511.
Expected output
The expected output when the above set of commands when run on Redis
-1
Observed output
The observed output when the above set of commands when run on DiceDB
199
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
- changes in the
dicecode to meet the expected behavior - Successful run of the tcl test behavior
You can find the tests under the tests directory of the dice 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 locally
Is this already picked up? If not I can take this up
Hey @AshwinKul28 can you please assign this issue to me. I'll take a look. Thanks
@lucifercr07 I would like to work on this issue.
@iamshubha looks like a PR is already in works for the issue by @jainam2907. Thanks for your intent to contribute, please keep an eye out for new issues as we open them.