【 使用环境 】测试环境
【 OB 】
【 使用版本 】
【问题描述】清晰明确描述问题
【复现路径】问题出现前后相关操作
【附件及日志】推荐使用OceanBase敏捷诊断工具obdiag收集诊断信息,详情参见链接(右键跳转查看):
我在做io_calibration时,遇到失败,抓取observer.log内容如下,从日志来看是io wait timeout,因为我的测试环境硬件能力欠佳,我想修改timeout的值,却不知道应该修改哪个参数,能帮助我吗
[2024-09-22 13:17:52.830617] WDIAG [COMMON] wait (ob_io_define.cpp:1405) [3390][ ][T0][Y0-0000000000000000-0-0] [lt=39][errcode=-4012] IO wait timeout, (ret=-401 2, *result_={is_inited_:true, is_finished_:false, is_canceled_:false, has_estima ted_:false, complete_size_:0, offset_:0, size_:2097152, timeout_us_:300000, resu lt_ref_cnt_:2, out_ref_cnt_:1, flag_:{mode:“READ”, group_id_:20001, wait_event_i d_:1, is_sync_:false, is_unlimited_:true, reserved_:0, is_detect_:false, is_time detect:false}, ret_code_:{io_ret_:0, fs_errno_:0}, tenant_io_mgr_:{ptr:0x7c2be 5814030}, user_data_buf_:0x7c2b2ca04030, buf_:null, io_callback_:null, begin_ts_ :1726985872294568, end_ts_:0})
[2024-09-22 13:17:52.830645] WDIAG [COMMON] read (ob_io_manager.cpp:153) [3390][ ][T0][Y0-0000000000000000-0-0] [lt=27][errcode=-4012] io handle wait failed(ret= -4012, info={tenant_id_:500, fd_:{first_id:62883, second_id:3532, device_handle: null}, offset_:0, size_:2097152, timeout_us_:300000, flag_:{mode:“READ”, group_i d_:20001, wait_event_id_:1, is_sync_:false, is_unlimited_:true, reserved_:0, is_ detect_:false, is_time_detect_:false}, callback_:null, buf_:null, user_data_buf_ :0x7c2b2ca04030}, info.timeout_us_=300000)
[2024-09-22 13:17:52.830669] WDIAG [COMMON] run1 (ob_io_calibration.cpp:425) [33 90][][T0][Y0-0000000000000000-0-0] [lt=23][errcode=-4012] io benchmark read fail ed(ret=-4012, io_info={tenant_id_:500, fd_:{first_id:62883, second_id:3532, devi ce_handle:null}, offset_:0, size_:2097152, timeout_us_:300000, flag_:{mode:"READ ", group_id_:20001, wait_event_id_:1, is_sync_:false, is_unlimited_:true, reserv ed_:0, is_detect_:false, is_time_detect_:false}, callback_:null, buf_:null, user data_buf:0x7c2b2ca04030})
[2024-09-22 13:17:52.832173] WDIAG [COMMON] do_benchmark (ob_io_calibration.cpp: 356) [3242][][T0][Y0-0000000000000000-0-0] [lt=10][errcode=-4016] invalid io cou nt(ret=-4016, io_count_=0)
[2024-09-22 13:17:52.832189] INFO [COMMON] do_benchmark (ob_io_calibration.cpp: 364) [3242][][T0][Y0-0000000000000000-0-0] [lt=15] IO BENCHMARK finished(ret=-40 16, load={mode_:0, size_:2097152}, result={mode:2, size:0, iops:0.00, rt_us:0.00 })
[2024-09-22 13:17:52.832209] WDIAG [COMMON] run1 (ob_io_calibration.cpp:520) [32 42][][T0][Y0-0000000000000000-0-0] [lt=18][errcode=-4016] run io benchmark faile d(ret=-4016, load={mode_:0, size_:2097152}, bench_thread_count=16, result={mode: 2, size:0, iops:0.00, rt_us:0.00})