2pc-lock-ownership-guard

Status: IN

`Participant.abort()` only releases locks where `self.locks.get(op["key"]) == tx_id`, preventing one transaction's abort from releasing another transaction's lock

Source: entries/2026/05/29/two-phase-commit-two_phase_commit.md

Example

if self.locks.get(op["key"]) == tx_id:
    del self.locks[op["key"]]

JSON