fixed a column of __all_virtual_ha_diagnose display incorrect.

This commit is contained in:
HaHaJeff
2023-05-15 09:11:20 +00:00
committed by ob-robot
parent 8fa5fdc6e7
commit 9c2eb9db5b
4 changed files with 8 additions and 3 deletions

View File

@ -1797,6 +1797,8 @@ int ObLS::diagnose(DiagnoseInfo &info) const
STORAGE_LOG(WARN, "diagnose log handler failed", K(ret), K(ls_id));
} else if (OB_FAIL(log_handler_.diagnose_palf(info.palf_diagnose_info_))) {
STORAGE_LOG(WARN, "diagnose palf failed", K(ret), K(ls_id));
} else if (OB_FAIL(restore_handler_.diagnose(info.restore_diagnose_info_))) {
STORAGE_LOG(WARN, "diagnose restore_handler failed", K(ret), K(ls_id), K(info));
} else if (info.is_role_sync()) {
// 角色同步时不需要诊断role change service
info.rc_diagnose_info_.state_ = logservice::TakeOverState::TAKE_OVER_FINISH;