dice icon indicating copy to clipboard operation
dice copied to clipboard

Inconsistent `GETDEL`: returns (nil) for data created by setbit

Open apoorvyadav1111 opened this issue 5 months ago • 4 comments

The command GETDEL is not consistent with Redis implementation. Here are the steps to reproduce the issue

setbit a 1 1
get a
getdel a
get a 

Here's the output I observed in Redis v7.2.5

image

and here's the output I observed in DiceDB's latest commit of the master branch

image

Make the implementation consistent with the Redis implementation. Make sure you are using Redis version 7.2.5 as a reference for the command implementation and to setup Redis

apoorvyadav1111 avatar Sep 07 '24 02:09 apoorvyadav1111