Skip to content

Redis expire command can revive expired keys there is a big number of expiring keys #1026

@ghost

Description

When there is a lot of keys with a ttl, the redis expire algorithm can take a while before really deleting keys.

Sometimes ttl will return -1 for an expired key but if you call expire command on this key, expire will actually succeed and bring the key back to life.

This issue has been noticed on redis 2.4.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions