adjust the log print level from log to debug5

This commit is contained in:
wuyuechuan
2023-07-05 15:55:03 +08:00
parent 18d06c8f1e
commit e44081ec8b

View File

@ -299,7 +299,7 @@ void pca_buf_load_page(pca_page_ctrl_t *item, const ExtentLocation& location, Cf
location.headerNum * BLCKSZ, (uint32)WAIT_EVENT_DATA_FILE_READ); location.headerNum * BLCKSZ, (uint32)WAIT_EVENT_DATA_FILE_READ);
if (nbytes != BLCKSZ) { if (nbytes != BLCKSZ) {
item->load_status = CTRL_PAGE_LOADED_ERROR; item->load_status = CTRL_PAGE_LOADED_ERROR;
ereport(LOG, (errcode(ERRCODE_DATA_CORRUPTED), ereport(DEBUG5, (errcode(ERRCODE_DATA_CORRUPTED),
errmsg("Failed to pca_buf_load_page %s, headerNum: %u.", FilePathName(location.fd), location.headerNum))); errmsg("Failed to pca_buf_load_page %s, headerNum: %u.", FilePathName(location.fd), location.headerNum)));
return; return;
} }