!161 PITR修复无法恢复到备份后事务的lsn的bug

Merge pull request !161 from victor_zhc/dev
This commit is contained in:
opengauss-bot 2020-08-31 20:43:48 +08:00 committed by Gitee
commit 56ec3306bf
1 changed files with 1 additions and 1 deletions

View File

@ -7470,7 +7470,7 @@ static bool recoveryStopsHere(XLogReaderState* record, bool* includeThis)
// Ignore recoveryTargetInclusive because this is not a transaction record
*includeThis = false;
} else {
} else if (t_thrd.xlog_cxt.recoveryTarget == RECOVERY_TARGET_TIME) {
/*
* There can be many transactions that share the same commit time, so
* we stop after the last one, if we are inclusive, or stop at the