Skip to content

Commit 6d65233

Browse files
committed
comments
1 parent 11ffb36 commit 6d65233

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/backend/access/transam/twophase.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ StandbyTransactionIdIsPrepared(TransactionId xid)
12981298
return false; /* nothing to do */
12991299

13001300
/*
1301-
* At first check prepared tx, that have no saved state files.
1301+
* At first check prepared tx that have no saved state files.
13021302
*/
13031303
LWLockAcquire(TwoPhaseStateLock, LW_SHARED);
13041304
for (i = 0; i < TwoPhaseState->numPrepXacts; i++)
@@ -1665,11 +1665,6 @@ XlogRedoFinishPrepared(TransactionId xid)
16651665
ProcArrayRemove(proc, latestXid);
16661666
gxact->valid = false;
16671667

1668-
/*
1669-
* 2REVIWER: I assume that we can skip invalidation callbacks here,
1670-
* aren't we?
1671-
*/
1672-
16731668
/* And release locks */
16741669
if (true)
16751670
ProcessRecords(bufptr, xid, twophase_postcommit_callbacks);

0 commit comments

Comments
 (0)