Skip to content

Commit

Permalink
[CBRD-25434] Change the recovery range in analysis phase when executi…
Browse files Browse the repository at this point in the history
  • Loading branch information
joohok authored Jul 16, 2024
1 parent 102076f commit 228725d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/transaction/log_recovery.c
Original file line number Diff line number Diff line change
Expand Up @@ -2915,6 +2915,11 @@ log_recovery_analysis (THREAD_ENTRY * thread_p, LOG_LSA * start_lsa, LOG_LSA * s
&may_use_checkpoint, &may_need_synch_checkpoint_2pc);
if (*did_incom_recovery == true)
{
/* The end_redo_lsa needs to be reverted to the prev_lsa value.
* The log record pointed to by end_redo_lsa is not a target for redo
*/
LSA_COPY (end_redo_lsa, &prev_lsa);

LSA_SET_NULL (&lsa);
break;
}
Expand Down

0 comments on commit 228725d

Please sign in to comment.