XA Transaction

    After XAShardingSphereTransactionManager register the corresponding XAResource to the current XA transaction, transaction manager will send XAResource.start command to databases. After databases received XAResource.end command, all SQL operator will mark as XA transaction.

    and sql2 in example will be marked as XA transaction.

    For example:

    1. XAResource2.prepare ## ack: yes
    2. XAResource2.commit
    3. XAResource1.prepare ## ack: yes
    4. XAResource2.prepare ## ack: no
    5. XAResource1.rollback