• perryitay's avatar
    Fail EXEC command in case a watched key is expired (#9194) · ac8b1df8
    perryitay authored
    
    
    There are two issues fixed in this commit: 
    1. we want to fail the EXEC command in case there is a watched key that's logically
       expired but not yet deleted by active expire or lazy expire.
    2. we saw that currently cache time is update in every `call()` (including nested calls),
       this time is being also being use for the isKeyExpired comparison, we want to update
       the cache time only in the first call (execCommand)
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    ac8b1df8
server.c 233 KB