stOOrz部分代码注释 #30
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue