[MDEV-6472] return current transaction id in commit command reponpse Created: 2014-07-23 Updated: 2014-08-05 Resolved: 2014-08-05 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | N/A |
| Type: | Task | Priority: | Major |
| Reporter: | mycat | Assignee: | Sergei Golubchik |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Description |
|
I can't find informaction about how to get current transaction id ,but this is useful when used in GTID faillover, I can save latest success transaction related sql in memory and when write node crashed ,I can re commit this trasaction in slave ,so I wan't to get current transaction id ,the best way maybe return it in OKPackage of commit response . |
| Comments |
| Comment by Sergei Golubchik [ 2014-08-05 ] |
|
Unfortunately, this doesn't seem to be possible. GTID is assigned to a transaction when it commits. Before that the gtid of a transaction is not known yet. |