• Moti Cohen's avatar
    On HDEL last field with expiry, update global HFE DS (#13470) · 806459f4
    Moti Cohen authored
    Hash field expiration is optimized to avoid frequent update global HFE DS for
    each field deletion. Eventually active-expiration will run and update or remove
    the hash from global HFE DS gracefully. Nevertheless, statistic "subexpiry"
    might reflect wrong number of hashes with HFE to the user if HDEL deletes
    the last field with expiration in hash (yet there are more fields without expiration).
    
    Following this change, if HDEL the last field with expiration in the hash then
    take care to remove the hash from global HFE DS as well.
    806459f4
t_hash.c 123 KB