Roll back a prepared two-phase transaction.
(self, xid: Xid | str | None = None)
| 605 | await self.wait(self._tpc_finish_gen("COMMIT", xid)) |
| 606 | |
| 607 | async def tpc_rollback(self, xid: Xid | str | None = None) -> None: |
| 608 | """ |
| 609 | Roll back a prepared two-phase transaction. |
| 610 | """ |
| 611 | async with self.lock: |
| 612 | await self.wait(self._tpc_finish_gen("ROLLBACK", xid)) |
| 613 | |
| 614 | async def tpc_recover(self) -> list[Xid]: |
| 615 | self._check_tpc() |
nothing calls this directly
no test coverage detected