RemoteTransaction ts = this.hstore_site.getTransaction(txn_id);
assert(ts != null) : "Unexpected null transaction handle for txn #" + txn_id;
// Always create a new prepare callback because we may get multiple messages
// to prepare this txn for commit.
RemotePrepareCallback wrapper = ts.getPrepareCallback();
assert(wrapper.isInitialized() == false);
wrapper.init(ts, partitions, callback);
this.hstore_site.transactionPrepare(ts, partitions, wrapper);
}