File tree 1 file changed +7
-7
lines changed 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -3587,13 +3587,13 @@ MtmReplicationStartupHook(struct PGLogicalStartupHookArgs* args)
3587
3587
ulong64 recoveredLSN ;
3588
3588
sscanf (strVal (elem -> arg ), "%llx" , & recoveredLSN );
3589
3589
MTM_LOG1 ("Recovered position of node %d is %llx" , MtmReplicationNodeId , recoveredLSN );
3590
- if (Mtm -> nodes [MtmReplicationNodeId - 1 ].restartLSN < recoveredLSN ) {
3591
- MTM_LOG1 ("Advance restartLSN for node %d from %llx to %llx (MtmReplicationStartupHook)" ,
3592
- MtmReplicationNodeId , Mtm -> nodes [MtmReplicationNodeId - 1 ].restartLSN , recoveredLSN );
3593
- // Assert(Mtm->nodes[MtmReplicationNodeId-1].restartLSN == INVALID_LSN
3594
- // || recoveredLSN < Mtm->nodes[MtmReplicationNodeId-1].restartLSN + MtmMaxRecoveryLag);
3595
- Mtm -> nodes [MtmReplicationNodeId - 1 ].restartLSN = recoveredLSN ;
3596
- }
3590
+ // if (Mtm->nodes[MtmReplicationNodeId-1].restartLSN < recoveredLSN) {
3591
+ // MTM_LOG1("Advance restartLSN for node %d from %llx to %llx (MtmReplicationStartupHook)",
3592
+ // MtmReplicationNodeId, Mtm->nodes[MtmReplicationNodeId-1].restartLSN, recoveredLSN);
3593
+ // // Assert(Mtm->nodes[MtmReplicationNodeId-1].restartLSN == INVALID_LSN
3594
+ // // || recoveredLSN < Mtm->nodes[MtmReplicationNodeId-1].restartLSN + MtmMaxRecoveryLag);
3595
+ // Mtm->nodes[MtmReplicationNodeId-1].restartLSN = recoveredLSN;
3596
+ // }
3597
3597
} else {
3598
3598
MTM_ELOG (ERROR , "Recovered position is not specified" );
3599
3599
}
You can’t perform that action at this time.
0 commit comments