[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.

Generated at Thu Feb 08 07:12:10 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.