* ����Ѿ����������У����׳�TransactionInProgressException�쳣
*/
@Override
public void beginTransaction() throws MetaClientException {
// û���ڴ˷��������begin�����ǵȵ���һ�η�����Ϣǰ�ŵ���
TransactionContext ctx = this.transactionContext.get();
if (ctx == null) {
ctx =
new TransactionContext(this.remotingClient, null, this, this.localTxIdGenerator,
this.transactionTimeout, this.transactionRequestTimeoutInMills);
this.transactionContext.set(ctx);
}
else {
throw new TransactionInProgressException("A transaction has begun");