// 在全局事务中,执行全局事务提交<br> ConnectionProxy# processGlobalTransactionCommit();
ConnectionProxy#register():
ConnectionProxy#recognizeLockKeyConflictException(TransactionException te, String lockKeys)recognizeLockKeyConflictException(TransactionException te, String lockKeys)
持久化前置镜像、后置镜像
AbstractUndoLogManager#flushUndoLogs(ConnectionProxy cp)
protected abstract void insertUndoLogWithNormal(String xid, long branchId, String rollbackCtx, byte[] undoLogContent,<br> Connection conn) throws SQLException;<br><br>抽象方法,由子类实现
ConnectionProxy#report(boolean commitDone)<br>
AbstractResourceManager#branchReport(BranchType branchType, String xid, long branchId, BranchStatus status, String applicationData)使用RmRpcClient向TC服务端
// 获取到了全局锁<br> ConnectionProxy#processLocalCommitWithGlobalLocks();