Closed badraxas closed 7 months ago
Hi, I think there is an issue with this condition: https://github.com/dragonflydb/dragonfly/blob/main/src/server/string_family.cc#L659
When the flag was set to zero, the flag is updated, but no more since this is other than zero.
Confirming it is a bug - memcached updates the flag for the existing entries.
Describe the bug The bug involves the incorrect storage of flags in DragonflyDB Memcache under certain conditions.
To Reproduce Steps to reproduce the behavior:
Expected behavior We expected the flag to change to the right value after executing the second
set
.Environment (please complete the following information):