dice icon indicating copy to clipboard operation
dice copied to clipboard

Inconsistent `EXPIRE`: EXPIRE with conflicting options: LT GT

Open AshwinKul28 opened this issue 1 year ago • 2 comments

Steps to reproduce

Run the commands mentioned in the test on Line 547 in the file https://github.com/AshwinKul28/dice-tests/tree/main/tcltests/unit/expire.tcl#L547.

Expected output

The expected output when the above set of commands when run on Redis

ERR GT and LT options at the same time are not compatible

Observed output

The observed output when the above set of commands when run on DiceDB

ERR NX and XX, GT or LT options at the same time are not compatible

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

  1. changes in the dice code to meet the expected behavior
  2. 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

AshwinKul28 avatar Sep 08 '24 18:09 AshwinKul28

Hey @AshwinKul28 i would like to work on this issue, can you please assign it to me

harshrai654 avatar Sep 09 '24 04:09 harshrai654

@harshrai654 assigned, thanks for picking this up.

lucifercr07 avatar Sep 09 '24 04:09 lucifercr07