• Kirill Smelkov's avatar
    zodbcommit: Don't forget to call tpc_abort on an error · 67b42fa7
    Kirill Smelkov authored
    Two-phase commit protocol assumes that after tpc_begin, it will be
    either successful tpc_vote + tpc_finish, or tpc_abort. We were not
    calling tpc_abort on an error, potentially leaving storage in "commit is
    in progress" state on an error.
    
    /reviewed-by @jerome
    /reviewed-on !19
    67b42fa7
zodbcommit.py 5.91 KB