!948 解决备机createRestartpoint时报错current dirty page list head smaller than redo lsn

Merge pull request !948 from cchen676/new1.1
This commit is contained in:
opengauss-bot 2021-05-12 14:15:55 +08:00 committed by Gitee
commit f80e4b5c06
2 changed files with 2 additions and 2 deletions

View File

@ -691,7 +691,7 @@ static int64 get_pagewriter_sleep_time()
return time_diff;
}
uint32 get_loc_for_lsn(XLogRecPtr target_lsn)
uint64 get_loc_for_lsn(XLogRecPtr target_lsn)
{
uint64 last_loc = 0;
XLogRecPtr page_rec_lsn = InvalidXLogRecPtr;

View File

@ -104,7 +104,7 @@ extern void ckpt_shutdown_pagewriter();
extern uint64 get_dirty_page_queue_rec_lsn();
extern XLogRecPtr ckpt_get_min_rec_lsn(void);
extern uint32 calculate_thread_max_flush_num(bool is_pagewriter);
extern uint32 get_loc_for_lsn(XLogRecPtr target_lsn);
extern uint64 get_loc_for_lsn(XLogRecPtr target_lsn);
extern uint64 get_time_ms();
const int PAGEWRITER_VIEW_COL_NUM = 8;