stOOrz部分代码注释 #30

Open
p5kenirwc wants to merge 16 commits from p5kenirwc/openGauss-server:master into master
1 changed files with 6 additions and 1 deletions
Showing only changes of commit f9561037a0 - Show all commits

View File

@ -8094,8 +8094,13 @@ CommitSeqNo SetXact2CommitInProgress(TransactionId xid, CommitSeqNo csn)
return InvalidCommitSeqNo;
nchildren = xactGetCommittedChildren(&children);
// get the number of subTransaction.
CSNLogSetCommitSeqNo(xid, nchildren, children, COMMITSEQNO_COMMIT_INPROGRESS | latestCSN);
/*
* Record the status and CSN of transaction entries in the transaction commit log of the
* transaction and its child transaction tree. Be careful to ensure that this operation * is as efficient and atomic
* as possible..
*/
ereport(
DEBUG1, (errmsg("Set %lu to commit in progress, latest csn is %lu", xid, latestCSN)));
return latestCSN;