Enhance wsrep api to support the following use case:
If the master of a prepared XA transaction fails, then it should be possible to terminate (commit or rollback) the transaction from another node in the cluster.
In order to do so, the application should be able to pass the necessary information to the provider so that a commit/rollback fragment can be sent on behalf of the failed master. The information consists of server and transaction ids.
One possible way to achieve this would be to add function with the following signature:
Enhance wsrep api to support the following use case: If the master of a prepared XA transaction fails, then it should be possible to terminate (commit or rollback) the transaction from another node in the cluster. In order to do so, the application should be able to pass the necessary information to the provider so that a commit/rollback fragment can be sent on behalf of the failed master. The information consists of server and transaction ids. One possible way to achieve this would be to add function with the following signature:
or
xa_recover
would be called before terminating the transaction throughcertify()
orrollback()
.