final TransactionOperation to =
TransactionOperation.newBuilder().setType(TransactionType.XA_PREPARE)
.setTransactionId(txid.getTransactionKey()).setWasPrepared(false).build();
// prepare,����force
final TxCommand msg =
TxCommand.newBuilder().setCmdType(TxCommandType.TX_OP).setCmdContent(to.toByteString()).setForce(true)
.build();
this.journalStore.write(msg, null, tx.location, false);
synchronized (this.preparedTransactions) {
this.preparedTransactions.put(txid, tx);