• debing.sun's avatar
    Add new hexpired notification for HFE (#13329) · ed10f737
    debing.sun authored
    
    
    When the hash field expired, we will send a new `hexpired` notification.
    It mainly includes the following three cases:
    1. When field expired by active expiration.
    2. When field expired by lazy expiration.
    3. When the user uses the `h(p)expire(at)` command, the user will also
    get a `hexpired` notification if the field expires during the command.
    
    ## Improvement
    1. Now if more than one field expires in the hmget command, we will only
    send a `hexpired` notification.
    2. When a field with TTL is deleted by commands like hdel without
    updating the global DS, active expire will not send a notification.
    
    ---------
    Co-authored-by: default avatarOzan Tezcan <ozantezcan@gmail.com>
    Co-authored-by: default avatarMoti Cohen <moti.cohen@redis.com>
    ed10f737
t_hash.c 114 KB