Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 4e465aa

Browse files
committed
Fix indentation in twophase.c
This has been missed in cb0cca1, noticed before buildfarm member koel has been able to complain while poking at a different patch. Like the other commit, backpatch all the way down to limit the odds of merge conflicts. Backpatch-through: 11
1 parent cb0cca1 commit 4e465aa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/backend/access/transam/twophase.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -2481,11 +2481,11 @@ PrepareRedoAdd(char *buf, XLogRecPtr start_lsn,
24812481
/*
24822482
* In the event of a crash while a checkpoint was running, it may be
24832483
* possible that some two-phase data found its way to disk while its
2484-
* corresponding record needs to be replayed in the follow-up recovery.
2485-
* As the 2PC data was on disk, it has already been restored at the
2486-
* beginning of recovery with restoreTwoPhaseData(), so skip this record
2487-
* to avoid duplicates in TwoPhaseState. If a consistent state has been
2488-
* reached, the record is added to TwoPhaseState and it should have no
2484+
* corresponding record needs to be replayed in the follow-up recovery. As
2485+
* the 2PC data was on disk, it has already been restored at the beginning
2486+
* of recovery with restoreTwoPhaseData(), so skip this record to avoid
2487+
* duplicates in TwoPhaseState. If a consistent state has been reached,
2488+
* the record is added to TwoPhaseState and it should have no
24892489
* corresponding file in pg_twophase.
24902490
*/
24912491
if (!XLogRecPtrIsInvalid(start_lsn))

0 commit comments

Comments
 (0)