[MDEV-21980] Remove overloaded references to "XA transactions" in log messages Created: 2020-03-18 Updated: 2023-04-27 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Replication, Server, Storage Engine - InnoDB |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Task | Priority: | Major |
| Reporter: | Geoff Montee (Inactive) | Assignee: | Ralf Gebhardt |
| Resolution: | Unresolved | Votes: | 1 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
In MariaDB, the term "XA transactions" has traditionally been overloaded to mean two different things:
There's more information here: https://mariadb.com/kb/en/xa-transactions/#internal-xa-vs-external-xa Overloading terms like this causes a lot of confusion, especially when diagnosing bug reports that involve XA transactions. We could benefit quite a bit by changing terminology. It probably makes sense for "external" XA transactions to be associated with the term "XA transactions", because the statements are prefixed with "XA" and because most users probably already know of them as "XA transactions". It might make sense for "internal" XA transactions to be called something else. What should we call them? Some ideas:
If we decide to split these two concepts into separate terms, then we should remove or clarify log messages that refer to "XA transactions". For example, when InnoDB and the binlog/transaction coordinator log (tclog) discover uncommitted external or internal transactions at startup, they log messages like this:
For log messages like this, we should probably clarify them in the following way:
|
| Comments |
| Comment by Marko Mäkelä [ 2020-03-19 ] | |||||
|
MySQL 5.0.3 introduced the following to distinguish the internal XA transactions:
At some later point (MariaDB Server 5.5.37), the my_xid was changed to a consistently 64-bit type. Until |