You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using Dragonfly-specific functionality that enables setting expiration for fields, i.e HSETEX and SADDEX, the expiration is not persisted after restarting Dragonfly.
To Reproduce
HSETEX myhash 30 foo bar
restart Dragonfly
sleep 30;
HGET myhash foo
bar < --- field foo still exists
This bug also affects replication in (at least?) 2 ways:
Replica which connects after a key with element expiry was set will never remove the expired element (it will simply not know about the expiration)
Replica which connects before a key was set (i.e. that it gets the original command HSETEX command) will remove the items on its own, instead of waiting for expiration removal event coming from the master
Describe the bug
When using Dragonfly-specific functionality that enables setting expiration for fields, i.e HSETEX and SADDEX, the expiration is not persisted after restarting Dragonfly.
To Reproduce
Expected behavior
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: