• YaacovHazan's avatar
    Reset command duration for rejected command. (#12247) · 0bfb6d55
    YaacovHazan authored
    In 7.2, After 971b177f
    
     we make sure (assert) that
    the duration has been recorded when resetting the client.
    
    This is not true for rejected commands.
    The use case I found is a blocking command that an ACL rule changed before
    it was unblocked, and while reprocessing it, the command rejected and triggered the assert.
    
    The PR reset the command duration inside rejectCommand / rejectCommandSds.
    Co-authored-by: default avatarOran Agra <oran@redislabs.com>
    0bfb6d55
acl.tcl 43.8 KB