提交 29d544f8 编写于 作者: X xuhuleon 提交者: LINGuanRen

fix check mount file error msg

上级 b47ed7f2
......@@ -1662,7 +1662,8 @@ int ObBackupDestDetector::check_backup_dest()
if (OB_SUCC(ret) && info.is_valid() && ObLogArchiveStatus::STOP != info.status_.status_) {
if (is_bad) {
LOG_ERROR("backup dest is bad, skip check backup dest", K(info));
LOG_ERROR("backup dest is bad, skip check backup dest. Please check if nfs is mounted and granted W/R permission",
K(info));
} else if (OB_FAIL(check_backup_dest_(info, is_bad))) {
LOG_WARN("failed to check backup dest", K(ret), K(info));
} else if (is_bad) {
......@@ -1670,7 +1671,7 @@ int ObBackupDestDetector::check_backup_dest()
if (0 == STRNCMP(info.backup_dest_, info_.backup_dest_, sizeof(info_.backup_dest_)) &&
info.status_.round_ == info_.status_.round_) {
is_bad_ = true;
LOG_ERROR("[BACKUP_MOUNT_FILE]backup mount file not file, mark backup dest bad", K(info));
LOG_ERROR("[BACKUP_MOUNT_FILE]backup mount file not found, mark backup dest bad", K(info));
} else {
FLOG_WARN("[BACKUP_MOUNT_FILE]backup info is changed, cannot set bad", K(info), K(info_));
}
......
......@@ -1530,7 +1530,10 @@ int ObBackupMountFile::check_mount_file(const ObLogArchiveBackupInfo& backup_inf
LOG_WARN("failed to read mount file", K(ret), K(path), K(backup_info));
} else if (!is_exist) {
ret = OB_BACKUP_MOUNT_FILE_NOT_VALID;
FLOG_WARN("[BACKUP_MOUNT_FILE]check backup mount file is not exist", K(ret), K(path), K(backup_info));
LOG_ERROR("[BACKUP_MOUNT_FILE]check backup mount file is not exist, maybe nfs is not mounted properly",
K(ret),
K(path),
K(backup_info));
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册