[MDEV-10478] Trx abort does not work in autocommit mode Created: 2016-08-01 Updated: 2016-08-29 Resolved: 2016-08-01 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Galera, wsrep |
| Affects Version/s: | 10.1.16 |
| Fix Version/s: | 10.1.17 |
| Type: | Bug | Priority: | Major |
| Reporter: | Nirbhay Choubey (Inactive) | Assignee: | Nirbhay Choubey (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
In Galera cluster, a local transaction could be aborted on the node if it conflicts with a remote transaction (higher priority). During code inspection, it was found that ha_abort_transaction() (function responsible for transaction abort) only looked for engines registered under standard transaction (st_transactions::all, and not statement transaction st_transactions::stmt). Thus, a node won't be able to abort a transaction executing in autocommit mode. |