All pages
Powered by GitBook
1 of 1

Loading...

XA_PREPARE_LOG_EVENT

This event records the preparation phase of an XA transaction, storing the XID to support two-phase commit and recovery.

An XA_PREPARE_LOG_EVENT records the prepare phase of a distributed transaction using the XA log. It is used to ensure atomicity and consistency of transactions.

Header

  • Event Type is XA_PREPARE_LOG_EVENT (0x26).

Fields

  • One Phase Commit.

  • Format ID.

  • Length of gtrid.

  • Length of bqual.

Payload:

  • xid, where n is sum of gtrid and bqual lengths.

This page is licensed: CC BY-SA / Gnu FDL

uint<1>
uint<4>
uint<4>
uint<1>
byte