File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1302,7 +1302,7 @@ StandbyTransactionIdIsPrepared(TransactionId xid)
1302
1302
return false; /* nothing to do */
1303
1303
1304
1304
/*
1305
- * At first check prepared tx that have no saved state files .
1305
+ * At first check prepared tx that wasn't yet moved to disk .
1306
1306
*/
1307
1307
LWLockAcquire (TwoPhaseStateLock , LW_SHARED );
1308
1308
for (i = 0 ; i < TwoPhaseState -> numPrepXacts ; i ++ )
Original file line number Diff line number Diff line change 53
53
54
54
# ##############################################################################
55
55
# Check that we can commit and abort after hard restart.
56
- # On startup WAL replay will re-create memory for global transactions that
56
+ # On startup WAL replay will re-create memory for global transactions that
57
57
# happend after the last checkpoint.
58
58
# ##############################################################################
59
59
94
94
is($psql_rc , ' 0' , ' Replay several tx with same name.' );
95
95
96
96
# ##############################################################################
97
- # Check that WAL replay will cleanup it's memory state and release locks while
97
+ # Check that WAL replay will cleanup it's memory state and release locks while
98
98
# replaying commit.
99
99
# ##############################################################################
100
100
169
169
170
170
# ##############################################################################
171
171
# Check that we restore prepared xacts after slave soft restart while master is
172
- # down. Since slave knows that master is down it uses different code path on
172
+ # down. Since slave knows that master is down it uses different code path on
173
173
# start.
174
174
# ##############################################################################
175
175
You can’t perform that action at this time.
0 commit comments