Files
redis/tests/unit
debing.sun 2467eff59a Fix db->expires can't be defragged due to incorrect comparison in the expires stage (#14092)
This bug was introduced by https://github.com/redis/redis/issues/13814

When defragmenting `db->expires`, if the process exits early and
`db->expires` was modified in the meantime (e.g., FLUSHDB), we need to
check whether the previously defragmented expires is still the same as
the current one when resuming. If they differ, we should abort the
current defragmentation of expires.

However, in https://github.com/redis/redis/issues/13814, I made a
mistake by using `db->keys` and `db->expires`, as expires will never be
defragged.
2025-06-05 21:52:33 +08:00
..
2025-05-28 08:02:10 +03:00
2025-03-20 10:35:53 +08:00
2024-12-23 14:16:40 +08:00