Comments - Question on processing XA Transactions

1 year, 5 months ago Sruli Ganor

Well, since I haven't got any response, I had to change the libmariadb code. I added this field:

struct st_mariadb_rpl_gtid_event {

:

MARIADB_STRING xid; };

And changed mariadb_rpl_fetch() to also return the xid for XA transactions.

Now, I can match each XA START to XA COMMIT and know whether and when each XA START has been committed, by matching the xid of both.

If anyone is interested, I can post the modified code.

Regards

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.