force SLOG write when disk error
This commit is contained in:
@ -878,7 +878,7 @@ int ObTenantIOManager::inner_aio(const ObIOInfo &info, ObIOHandle &handle)
|
|||||||
} else if (OB_UNLIKELY(!is_working())) {
|
} else if (OB_UNLIKELY(!is_working())) {
|
||||||
ret = OB_STATE_NOT_MATCH;
|
ret = OB_STATE_NOT_MATCH;
|
||||||
LOG_WARN("tenant not working", K(ret), K(tenant_id_));
|
LOG_WARN("tenant not working", K(ret), K(tenant_id_));
|
||||||
} else if (NULL != detector && detector->is_data_disk_has_fatal_error()) {
|
} else if (SLOG_IO != info.flag_.get_sys_module_id() && NULL != detector && detector->is_data_disk_has_fatal_error()) {
|
||||||
ret = OB_DISK_HUNG;
|
ret = OB_DISK_HUNG;
|
||||||
// for temporary positioning issue, get lbt of log replay
|
// for temporary positioning issue, get lbt of log replay
|
||||||
LOG_DBA_ERROR(OB_DISK_HUNG, "msg", "disk has fatal error");
|
LOG_DBA_ERROR(OB_DISK_HUNG, "msg", "disk has fatal error");
|
||||||
|
|||||||
Reference in New Issue
Block a user