forked from openGauss-Ecosystem/openGauss-server
!2728 修复了极致RTO回放流程获取buffer函数XLogReadBufferForRedoBlockExtend()传参错误
Merge pull request !2728 from jiangzhaoheng/extreme_rto_func_parameter_bugfix
This commit is contained in:
commit
30c251bb0a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue