• ranshid's avatar
    Fix an issue when module decides to unblock a client which is blocked on keys (#11832) · 4988b928
    ranshid authored
    Currently (starting at #11012) When a module is blocked on keys it sets the
    CLIENT_PENDING_COMMAND flag.
    However in case the module decides to unblock the client not via the regular flow
    (eg timeout, key signal or CLIENT UNBLOCK command) it will attempt to reprocess the
    module command and potentially blocked again.
    
    This fix remove the CLIENT_PENDING_COMMAND flag in case blockedForKeys is
    issued from module context.
    4988b928
blockonkeys.c 20.2 KB