!2728 修复了极致RTO回放流程获取buffer函数XLogReadBufferForRedoBlockExtend()传参错误

Merge pull request !2728 from jiangzhaoheng/extreme_rto_func_parameter_bugfix
This commit is contained in:
opengauss-bot 2023-01-05 08:20:30 +00:00 committed by Gitee
commit 30c251bb0a
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -1623,7 +1623,7 @@ XLogRedoAction XLogBlockGetOperatorBuffer(XLogBlockHead *blockhead, void *blockr
XLogBlockDataGetLastBlockLSN(blockdatarec), willinit, readmethod); XLogBlockDataGetLastBlockLSN(blockdatarec), willinit, readmethod);
} else if (block_valid == BLOCK_DATA_VM_TYPE || block_valid == BLOCK_DATA_FSM_TYPE) { } else if (block_valid == BLOCK_DATA_VM_TYPE || block_valid == BLOCK_DATA_FSM_TYPE) {
redoaction = XLogReadBufferForRedoBlockExtend(&bufferinfo->blockinfo, RBM_ZERO_ON_ERROR, false, bufferinfo, redoaction = XLogReadBufferForRedoBlockExtend(&bufferinfo->blockinfo, RBM_ZERO_ON_ERROR, false, bufferinfo,
xlogLsn, true, InvalidXLogRecPtr, readmethod); xlogLsn, InvalidXLogRecPtr, true, readmethod);
} else if (block_valid == BLOCK_DATA_DDL_TYPE || block_valid == BLOCK_DATA_UNDO_TYPE) { } else if (block_valid == BLOCK_DATA_DDL_TYPE || block_valid == BLOCK_DATA_UNDO_TYPE) {
redoaction = NO_BLK; redoaction = NO_BLK;
} }