oceanbase合并一直卡住

【 使用环境 】生产环境
【 OB or 其他组件 】observer
【 使用版本 】OceanBase_CE 4.2.1.3 (r103000032023122818-8fe69c2056b07154bbd1ebd2c26e818ee0d5c56f)
【问题描述】oceanbase合并一直卡住
【复现路径】无任何异常操作
【附件及日志】[2026-03-30 18:03:02.613028] WDIAG [STORAGE] scan (ob_sstable.cpp:189) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=8][errcode=-4034] Fail to open row scanner(ret=-4034, param={table_id:370, tablet_id:{id:370}, read_info:{is_inited:true, compat_version:1, is_oracle_mode:false, schema_column_count:8, schema_rowkey_cnt:2, rowkey_cnt:4, cols_index:{rowkey_mode:true, for_memtable:false, schema_rowkey_cnt:2, column_cnt:10}, cols_desc:{ObIArray:[column_id=18 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=19 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=16 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=20 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=21 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=23 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0], data:0x7f7cdd976060, count:10, allocator:0x7f7ca1dbfc38, capacity:10, init_cnt:10}, datum_utils:{is_oracle_mode:false, rowkey_cnt:4, col_cnt:10, is_inited:true, is_oracle_mode:false}}, rowkey_read_info:{is_inited:true, compat_version:1, is_oracle_mode:false, schema_column_count:8, schema_rowkey_cnt:2, rowkey_cnt:4, cols_index:{rowkey_mode:true, for_memtable:false, schema_rowkey_cnt:2, column_cnt:10}, cols_desc:{ObIArray:[column_id=18 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=19 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=16 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=20 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=21 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=23 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0], data:0x7f7cdd976060, count:10, allocator:0x7f7ca1dbfc38, capacity:10, init_cnt:10}, datum_utils:{is_oracle_mode:false, rowkey_cnt:4, col_cnt:10, is_inited:true, is_oracle_mode:false}}, out_cols_project:NULL, pushdown_filter:NULL, is_multi_version_minor_merge:false, need_scn:false, is_same_schema_column:false, pd_storage_flag:0, vectorized_enabled:false, has_virtual_columns:false, has_lob_column_out:false, is_for_foreign_check:false, limit_prefetch:false, ss_rowkey_prefix_cnt:0}, context={is_inited:true, timeout:9223372036854775807, ls_id:{id:1}, tablet_id:{id:0}, query_flag:{scan_order:1, daily_merge:1, rmmb_optimize:1, whole_macro_scan:1, full_row:0, index_back:0, query_stat:0, sql_mode:0, read_latest:0, prewarm:0, join_type:0, use_row_cache:0, use_block_index_cache:0, use_bloomfilter_cache:0, multi_version_minor_merge:0, is_need_feedback:0, use_fuse_row_cache:0, use_fast_agg:0, iter_uncommitted_row:0, ignore_trans_stat:0, is_large_query:0, is_sstable_cut:0, skip_read_lob:0, is_lookup_for_4377:0, is_for_foreign_key_check:0, reserved:0}, sql_mode:0, store_ctx:0x7f7ca1dbf578, limit_param:null, stmt_allocator:0x7f7ca1dbfc38, allocator:0x7f7ca1dbfc38, range_allocator:null, table_scan_stat:null, out_cnt:0, trans_version_range:{multi_version_start:1774029604427879742, base_version:1774018825891909433, snapshot_version:1774029604427879742}, merge_scn:{val:0, v:0}, lob_allocator:pages=1, used=560, total=7936, lob_locator_helper:{table_id:0, ls_id:1, snapshot_version:1, rowid_version:0, rowid_project_:NULL, enable_locator_v2:true, is_inited:true}, iter_pool:null, block_row_store:null, io_callback:null}, key_range={start_key:{datum_cnt:1, group_idx:0, hash:0, [idx=0:MIN_OBJ,]store_rowkey:MIN}, end_key:{datum_cnt:1, group_idx:0, hash:0, [idx=0:MAX_OBJ,]store_rowkey:MAX}, group_idx:0, border_flag:{flag:0}}, *this={ObITable:{this:0x7f7b5ea79e18, key:{tablet_id:{id:370}, column_group_idx:0, table_type:“MAJOR”, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:1774018825891909433, v:0}}}, ref_cnt:0, upper_trans_version:1774018825891909433, timestamp:0}, this:0x7f7b5ea79e18, addr:37970-37971-0-2305844245090885632-0, upper_trans_version:1774018825891909433, max_merged_trans_version:1774018825891909433, data_macro_block_count:1, nested_size:4096, nested_offset:417792, contain_uncommitted_row:false, filled_tx_scn:{val:0, v:0}, meta:{basic_meta:{version:1, length:84, row_count_:4, occupy_size_:761, original_size_:320, data_checksum_:1975541321, index_type_:0, rowkey_column_count_:4, column_cnt_:10, data_macro_block_count_:1, data_micro_block_count_:1, use_old_macro_block_count_:0, index_macro_block_count_:0, sstable_format_version_:1, schema_version_:1773977683369400, create_snapshot_version_:0, progressive_merge_round_:1, progressive_merge_step_:0, data_index_tree_height_:2, table_mode_:{table_mode_flag:0, pk_mode:0, table_state_flag:0, view_created_method_flag:0, table_organization_mode:0, auto_increment_mode:0, rowid_mode:0, view_column_filled_flag:0}, upper_trans_version_:1774018825891909433, max_merged_trans_version_:1774018825891909433, recycle_version:0, ddl_scn_:{val:0, v:0}, filled_tx_scn_:{val:0, v:0}, contain_uncommitted_row_:false, status_:4, root_row_store_type:2, compressor_type:1, encrypt_id:0, master_key_id:0, sstable_logic_seq:0, encrypt_key:“data_size:16, data:00000000000000000000000000000000”, latest_row_store_type:1}, column_checksums:0x7f7b4e4203c0, column_checksum_count:10, data_root_info:{addr:0-0-0-3458764889630179328-0, block_data:{buf:0x7f7b4e420410, size:350, extra_buf:0x7f7b4e42056e, extra_size:368, type:1}}, macro_info:{macro_meta_info:{addr:0-0-0-3458764966939590656-0, block_data:{buf:0x7f7b4e4206de, size:422, extra_buf:null, extra_size:0, type:1}}, data_block_count:1, other_block_count:0, linked_block_count:0, data_block_ids:0x7f7b4e420884, other_block_ids:null, linked_block_ids:null, entry_id:-1, is_meta_root:true, nested_offset:417792, nested_size:4096}}, valid_for_reading:true})
[2026-03-30 18:03:02.613338] WDIAG [STORAGE.COMPACTION] inner_init (ob_partition_merge_iter.cpp:262) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=290][errcode=-4034] Fail to init row iter for table(ret=-4034, table_={ObITable:{this:0x7f7b5ea79e18, key:{tablet_id:{id:370}, column_group_idx:0, table_type:“MAJOR”, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:1774018825891909433, v:0}}}, ref_cnt:0, upper_trans_version:1774018825891909433, timestamp:0}, this:0x7f7b5ea79e18, addr:37970-37971-0-2305844245090885632-0, upper_trans_version:1774018825891909433, max_merged_trans_version:1774018825891909433, data_macro_block_count:1, nested_size:4096, nested_offset:417792, contain_uncommitted_row:false, filled_tx_scn:{val:0, v:0}, meta:{basic_meta:{version:1, length:84, row_count_:4, occupy_size_:761, original_size_:320, data_checksum_:1975541321, index_type_:0, rowkey_column_count_:4, column_cnt_:10, data_macro_block_count_:1, data_micro_block_count_:1, use_old_macro_block_count_:0, index_macro_block_count_:0, sstable_format_version_:1, schema_version_:1773977683369400, create_snapshot_version_:0, progressive_merge_round_:1, progressive_merge_step_:0, data_index_tree_height_:2, table_mode_:{table_mode_flag:0, pk_mode:0, table_state_flag:0, view_created_method_flag:0, table_organization_mode:0, auto_increment_mode:0, rowid_mode:0, view_column_filled_flag:0}, upper_trans_version_:1774018825891909433, max_merged_trans_version_:1774018825891909433, recycle_version:0, ddl_scn_:{val:0, v:0}, filled_tx_scn_:{val:0, v:0}, contain_uncommitted_row_:false, status_:4, root_row_store_type:2, compressor_type:1, encrypt_id:0, master_key_id:0, sstable_logic_seq:0, encrypt_key:“data_size:16, data:00000000000000000000000000000000”, latest_row_store_type:1}, column_checksums:0x7f7b4e4203c0, column_checksum_count:10, data_root_info:{addr:0-0-0-3458764889630179328-0, block_data:{buf:0x7f7b4e420410, size:350, extra_buf:0x7f7b4e42056e, extra_size:368, type:1}}, macro_info:{macro_meta_info:{addr:0-0-0-3458764966939590656-0, block_data:{buf:0x7f7b4e4206de, size:422, extra_buf:null, extra_size:0, type:1}}, data_block_count:1, other_block_count:0, linked_block_count:0, data_block_ids:0x7f7b4e420884, other_block_ids:null, linked_block_ids:null, entry_id:-1, is_meta_root:true, nested_offset:417792, nested_size:4096}}, valid_for_reading:true}, merge_range={start_key:{datum_cnt:1, group_idx:0, hash:0, [idx=0:MIN_OBJ,]store_rowkey:MIN}, end_key:{datum_cnt:1, group_idx:0, hash:0, [idx=0:MAX_OBJ,]store_rowkey:MAX}, group_idx:0, border_flag:{flag:0}}, access_context={is_inited:true, timeout:9223372036854775807, ls_id:{id:1}, tablet_id:{id:0}, query_flag:{scan_order:1, daily_merge:1, rmmb_optimize:1, whole_macro_scan:1, full_row:0, index_back:0, query_stat:0, sql_mode:0, read_latest:0, prewarm:0, join_type:0, use_row_cache:0, use_block_index_cache:0, use_bloomfilter_cache:0, multi_version_minor_merge:0, is_need_feedback:0, use_fuse_row_cache:0, use_fast_agg:0, iter_uncommitted_row:0, ignore_trans_stat:0, is_large_query:0, is_sstable_cut:0, skip_read_lob:0, is_lookup_for_4377:0, is_for_foreign_key_check:0, reserved:0}, sql_mode:0, store_ctx:0x7f7ca1dbf578, limit_param:null, stmt_allocator:0x7f7ca1dbfc38, allocator:0x7f7ca1dbfc38, range_allocator:null, table_scan_stat:null, out_cnt:0, trans_version_range:{multi_version_start:1774029604427879742, base_version:1774018825891909433, snapshot_version:1774029604427879742}, merge_scn:{val:0, v:0}, lob_allocator:pages=1, used=560, total=7936, lob_locator_helper:{table_id:0, ls_id:1, snapshot_version:1, rowid_version:0, rowid_project_:NULL, enable_locator_v2:true, is_inited:true}, iter_pool:null, block_row_store:null, io_callback:null}, access_param={iter_param:{table_id:370, tablet_id:{id:370}, read_info:{is_inited:true, compat_version:1, is_oracle_mode:false, schema_column_count:8, schema_rowkey_cnt:2, rowkey_cnt:4, cols_index:{rowkey_mode:true, for_memtable:false, schema_rowkey_cnt:2, column_cnt:10}, cols_desc:{ObIArray:[column_id=18 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=19 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=16 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=20 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=21 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=23 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0], data:0x7f7cdd976060, count:10, allocator:0x7f7ca1dbfc38, capacity:10, init_cnt:10}, datum_utils:{is_oracle_mode:false, rowkey_cnt:4, col_cnt:10, is_inited:true, is_oracle_mode:false}}, rowkey_read_info:{is_inited:true, compat_version:1, is_oracle_mode:false, schema_column_count:8, schema_rowkey_cnt:2, rowkey_cnt:4, cols_index:{rowkey_mode:true, for_memtable:false, schema_rowkey_cnt:2, column_cnt:10}, cols_desc:{ObIArray:[column_id=18 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=19 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=16 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=20 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=21 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=23 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0], data:0x7f7cdd976060, count:10, allocator:0x7f7ca1dbfc38, capacity:10, init_cnt:10}, datum_utils:{is_oracle_mode:false, rowkey_cnt:4, col_cnt:10, is_inited:true, is_oracle_mode:false}}, out_cols_project:NULL, pushdown_filter:NULL, is_multi_version_minor_merge:false, need_scn:false, is_same_schema_column:false, pd_storage_flag:0, vectorized_enabled:false, has_virtual_columns:false, has_lob_column_out:false, is_for_foreign_check:false, limit_prefetch:false, ss_rowkey_prefix_cnt:0}, padding_cols:NULL, projector_size:0, output_exprs:NULL, op_filters:null, row2exprs_projector:null, output_sel_mask:NULL, fast_agg_project:null, is_inited:true})
[2026-03-30 18:03:02.613459] WDIAG [STORAGE.COMPACTION] init (ob_partition_merge_iter.cpp:180) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=120][errcode=-4034] Failed to inner init(ret=-4034)
[2026-03-30 18:03:02.613467] WDIAG [STORAGE] init_merge_iters (ob_partition_rows_merger.cpp:622) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=7][errcode=-4034] Failed to init merge iter(ret=-4034)
[2026-03-30 18:03:02.613482] WDIAG [STORAGE] init (ob_partition_rows_merger.cpp:573) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=6][errcode=-4034] Failed to init merge iters(ret=-4034, fuser={ObIPartitionMergeFuser:{schema_rowkey_column_cnt:2, column_cnt:10, result_row:{row_flag:{flag:“NOT_EXIST”, flag_type:0}, trans_id:{txid:0}, scan_index:0, mvcc_row_flag:{first:0, uncommitted:0, shadow:0, compact:0, ghost:0, last:0, reserved:0, flag:0}, snapshot_version:0, fast_filter_skipped:false, have_uncommited_row:false, group_idx:0, count:10, datum_buffer:{capacity:32, datums:0x7f7cdfdd6148, local_datums:0x7f7cdfdd6148}, datums:[col_id=0:NOP,col_id=1:NOP,col_id=2:NOP,col_id=3:NOP,col_id=4:NOP,col_id=5:NOP,col_id=6:NOP,col_id=7:NOP,col_id=8:NOP,col_id=9:NOP,]}, multi_version_column_ids:[column_id=18 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=19 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=7 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=8 {type:“BIGINT”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=16 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=17 {type:“TIMESTAMP”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=20 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=21 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=22 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0, column_id=23 {type:“BIGINT UNSIGNED”, collation:“binary”, coercibility:“NUMERIC”} order=0], is_inited:true}, default_row:{row_flag:{flag:“UPDATE”, flag_type:0}, trans_id:{txid:0}, scan_index:0, mvcc_row_flag:{first:0, uncommitted:0, shadow:0, compact:0, ghost:0, last:0, reserved:0, flag:0}, snapshot_version:0, fast_filter_skipped:false, have_uncommited_row:false, group_idx:0, count:10, datum_buffer:{capacity:32, datums:0x7f7cdfdd6e78, local_datums:0x7f7cdfdd6e78}, datums:[col_id=0:null,col_id=1:null,col_id=2:{len: 8, flag: 0, null: 0, ptr: 0x7f7cdfdd6ef8, hex: 0000000000000000, int: 0},col_id=3:{len: 8, flag: 0, null: 0, ptr: 0x7f7cdfdd6f30, hex: 0000000000000000, int: 0},col_id=4:null,col_id=5:null,col_id=6:{len: 8, flag: 0, null: 0, ptr: 0x7f7cdfdd6fd8, hex: 0000000000000000, int: 0},col_id=7:{len: 8, flag: 0, null: 0, ptr: 0x7f7cdfdd7010, hex: 0000000000000000, int: 0},col_id=8:{len: 8, flag: 0, null: 0, ptr: 0x7f7cdfdd7048, hex: 0000000000000000, int: 0},col_id=9:{len: 8, flag: 0, null: 0, ptr: 0x7f7cdfdd7080, hex: 0000000000000000, int: 0},]}}, merge_param={tables_handle:{tablet_id:{id:370}, table_count:3, [{i:0, table_key:{tablet_id:{id:370}, column_group_idx:0, table_type:“MAJOR”, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:1774018825891909433, v:0}}}, ref:0}{i:1, table_key:{tablet_id:{id:370}, column_group_idx:0, table_type:“MINOR”, scn_range:{start_scn:{val:1774000670559375483, v:0}, end_scn:{val:1774029604490971869, v:0}}}, ref:0}{i:2, table_key:{tablet_id:{id:370}, column_group_idx:0, table_type:“MINOR”, scn_range:{start_scn:{val:1774029604490971869, v:0}, end_scn:{val:1774857584520145796, v:0}}}, ref:0}]}, merge_type:5, merge_level:1, merge_schema:0x7f7b5ea79330, merge_range:{start_key:{datum_cnt:1, group_idx:0, hash:0, [idx=0:MIN_OBJ,]store_rowkey:MIN}, end_key:{datum_cnt:1, group_idx:0, hash:0, [idx=0:MAX_OBJ,]store_rowkey:MAX}, group_idx:0, border_flag:{flag:0}}, version_range:{multi_version_start:1774029604427879742, base_version:1774018825891909433, snapshot_version:1774029604427879742}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}, is_full_merge:false, merge_scn:{val:0, v:0}})
[2026-03-30 18:03:02.613593] WDIAG [STORAGE] prepare_merge_partition (ob_partition_merger.cpp:386) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=110][errcode=-4034] Failed to init merge helper(ret=-4034)
[2026-03-30 18:03:02.613600] WDIAG [STORAGE] merge_partition (ob_partition_merger.cpp:619) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=5][errcode=-4034] Failed to prepare merge partition(ret=-4034)
[2026-03-30 18:03:02.613872] WDIAG [STORAGE] process (ob_tablet_merge_task.cpp:1497) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=75][errcode=-4034] failed to merge partition(ret=-4034)
[2026-03-30 18:03:02.613959] WDIAG [STORAGE] process (ob_tablet_merge_task.cpp:1512) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=9][errcode=-4034] failed to merge(ret=-4034, ctx_->param_={merge_type:“MEDIUM_MERGE”, merge_version:1774029604427879742, ls_id:{id:1}, tablet_id:{id:370}, report_:0x561eb1942f00, for_diagnose:false, is_tenant_major_merge:true, need_swap_tablet_flag:false}, idx_=0)
[2026-03-30 18:03:02.614040] WDIAG [COMMON] run1 (ob_dag_scheduler.cpp:1478) [2210][T1001_MAJOR_MER][T1001][YB42F5000803-00064D6C0D264FD0-0-0] [lt=41][errcode=-4034] failed to do work(ret=-4034, *task_={this:0x7f7b5ea38030, type:1, status:2, dag:{ObIDag:{this:0x7f7cdcfc8030, type:2, name:“MAJOR_MERGE”, id:YB42F5000803-00064D6C0D264FD0-0-0, dag_ret:0, dag_status:2, start_time:1774864982590778, running_task_cnt:1, indegree:0, consumer_group_id:0, hash:2321924397731923960}, param:{merge_type:“MEDIUM_MERGE”, merge_version:1774029604427879742, ls_id:{id:1}, tablet_id:{id:370}, report_:0x561eb1942f00, for_diagnose:false, is_tenant_major_merge:true, need_swap_tablet_flag:false}, compat_mode:0, ctx:{sstable_version_range:{multi_version_start:1774029604427879742, base_version:1774018825891909433, snapshot_version:1774029604427879742}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}}}}, compat_mode=0)
[root@ob-c3ff3823-observer-obzone3-0-0 log]#

【备注】基于 LLM 和开源文档 RAG 的论坛小助手已开放测试,在发帖时输入 [@论坛小助手] 即可召唤小助手,欢迎试用!

1 个赞

OceanBase 社区已接收您的帖子,正在跟进中。

针对您描述的情况,推荐使用 obdiag 工具进行根因分析和日志采集,以便确认问题的具体原因并提供解决方案。

根因分析场景: 卡合并
根因分析命令: obdiag rca run --scene=major_hold
日志采集场景: 合并问题
日志采集命令: obdiag gather scene run --scene=observer.compaction

请先使用上述命令进行日志的收集与根因的初步分析,并将得到的结果提供给我们,这有助于更快地定位问题。同时,请回答以下几个问题,以便我们能够更全面地了解情况:

  1. 当前生产环境中的合并任务是否一直存在这种卡住的现象,还是首次出现?
  2. 发生卡住现象时,系统是否有其他的异常表现,例如 CPU 使用率异常、内存使用率异常等?
  3. 能否提供发生卡住前后一段时间内的系统监控数据,如 CPU、内存、I/O 等方面的指标变化?
  4. 是否尝试过取消或重启合并任务?如果有尝试,结果如何?
  5. 生产环境的配置信息,包括但不限于 OceanBase 版本、操作系统版本等,能否提供?

感谢您的配合,期待您的回复。

附上敏捷诊断工具 obdiag 使用帮助链接