mirror of
https://gitee.com/he3db/he3pg.git
synced 2024-11-29 18:58:35 +08:00
set pagelsn when redo he3hash_xlog_squeeze_page
This commit is contained in:
commit
637a27a0db
@ -747,6 +747,10 @@ he3hash_xlog_squeeze_page(XLogReaderState *record)
|
||||
* is to ensure a cleanup lock on primary bucket page.
|
||||
*/
|
||||
(void) XLogReadBufferForRedoExtended(record, 0, mode, true, &bucketbuf);
|
||||
Page writepage;
|
||||
writepage = (Page) BufferGetPage(bucketbuf);
|
||||
PageSetLSN(writepage, lsn);
|
||||
MarkBufferDirty(bucketbuf);
|
||||
}
|
||||
if (mode != RBM_NORMAL_VALID && BufferIsValid(bucketbuf))
|
||||
UnlockReleaseBuffer(bucketbuf);
|
||||
|
Loading…
Reference in New Issue
Block a user