• Oran Agra's avatar
    Script that made modification will not break with unexpected NOREPLICAS error (#10855) · 8ef4f1db
    Oran Agra authored
    If a script made a modification and then was interrupted for taking too long.
    there's a chance redis will detect that a replica dropped and would like to reject
    write commands with NOREPLICAS due to insufficient good replicas.
    returning an error on a command in this case breaks the script atomicity.
    
    The same could in theory happen with READONLY, MISCONF, but i don't think
    these state changes can happen during script execution.
    8ef4f1db
scripting.tcl 62.4 KB