观察一次完整的转储操作在日志层面可以看到什么信息。主要点如下:
按照如下语句创建实验数据表并insert 10000条数据:
CREATE TABLE `salary` ( `id` bigint(20) DEFAULT NULL, `name` varchar(20) DEFAULT NULL, `age` int(11) DEFAULT NULL, `dept` int(11) DEFAULT NULL, `level` int(11) DEFAULT NULL, `salary` decimal(10,2) DEFAULT NULL, KEY `sal_ix` (`dept`, `level`, `salary`) BLOCK_SIZE 16384 LOCAL ) ORGANIZATION INDEX DEFAULT CHARSET = utf8mb4 ROW_FORMAT = DYNAMIC COMPRESSION = 'zstd_1.3.8' REPLICA_NUM = 3 BLOCK_SIZE = 16384 USE_BLOOM_FILTER = FALSE ENABLE_MACRO_BLOCK_BLOOM_FILTER = FALSE TABLET_SIZE = 134217728 PCTFREE = 0
在sys租户中通过以下SQL查询
obclient(root@sys)[(none)]> SELECT tenant_id, table_name, tablet_id, ls_id, role, svr_ip, svr_port FROM oceanbase.CDB_OB_TABLE_LOCATIONS WHERE table_name = 'salary' AND tenant_id = 1002 and database_name = 'cjx_merge_test'; +-----------+------------+-----------+-------+----------+--------------+----------+ | tenant_id | table_name | tablet_id | ls_id | role | svr_ip | svr_port | +-----------+------------+-----------+-------+----------+--------------+----------+ | 1002 | salary | 216186 | 1001 | LEADER | 192.168.5.95 | 2882 | | 1002 | salary | 216186 | 1001 | FOLLOWER | 192.168.5.97 | 2882 | +-----------+------------+-----------+-------+----------+--------------+----------+ 2 rows in set (1.699 sec)
SELECT * from gv$ob_memstore WHERE tenant_id = 1002; +--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+ | SVR_IP | SVR_PORT | TENANT_ID | ACTIVE_SPAN | FREEZE_TRIGGER | FREEZE_CNT | MEMSTORE_USED | MEMSTORE_LIMIT | +--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+ | 192.168.5.97 | 2882 | 1002 | 167772160 | 361719496 | 0 | 167772160 | 1288490160 | | 192.168.5.95 | 2882 | 1002 | 176160768 | 357944616 | 0 | 176160768 | 1288490160 | +--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+ 2 rows in set (0.033 sec) 这个视图对应的内部表:__all_virtual_tenant_memstore_info; select * from __all_virtual_tenant_memstore_info where tenant_id =1002 ; +--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+ | svr_ip | svr_port | tenant_id | active_span | freeze_trigger | freeze_cnt | memstore_used | memstore_limit | +--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+ | 192.168.5.97 | 2882 | 1002 | 167772160 | 362138916 | 0 | 167772160 | 1288490160 | | 192.168.5.95 | 2882 | 1002 | 174063616 | 359202896 | 0 | 174063616 | 1288490160 | +--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+ 2 rows in set (0.089 sec)
转储触发条件:active_span接近甚至超过 freeze_trigger(≈ memstore_limit``freeze_trigger_percentage%)
show parameters like 'freeze_trigger_percentage'; +--------+----------+--------------+----------+---------------------------+-----------+-------+----------------------------------------------------------------------------------------+---------+--------+---------+-------------------+---------------+-----------+ | zone | svr_type | svr_ip | svr_port | name | data_type | value | info | section | scope | source | edit_level | default_value | isdefault | +--------+----------+--------------+----------+---------------------------+-----------+-------+----------------------------------------------------------------------------------------+---------+--------+---------+-------------------+---------------+-----------+ | zone_1 | observer | 192.168.5.97 | 2882 | freeze_trigger_percentage | INT | 20 | the threshold of the size of the mem store when freeze will be triggered. Rang:(0,100) | TENANT | TENANT | DEFAULT | DYNAMIC_EFFECTIVE | 20 | 1 | | zone1 | observer | 192.168.5.95 | 2882 | freeze_trigger_percentage | INT | 20 | the threshold of the size of the mem store when freeze will be triggered. Rang:(0,100) | TENANT | TENANT | DEFAULT | DYNAMIC_EFFECTIVE | 20 | 1 | +--------+----------+--------------+----------+---------------------------+-----------+-------+----------------------------------------------------------------------------------------+---------+--------+---------+-------------------+---------------+-----------+ 2 rows in set (0.053 sec)
当前freeze_trigger= 1288490160 * 20% = 257698032
1. 执行如下命令转储
ALTER SYSTEM MINOR FREEZE TABLET_ID = 216186;
2. 查看转储的历史,并且确认memstore水位
SELECT * FROM oceanbase.GV$OB_TABLET_COMPACTION_HISTORY WHERE TENANT_ID =1002 AND TABLET_ID =216186 ORDER BY START_TIME DESC LIMIT 20;
+--------------+----------+-----------+-------+-----------+-----------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+------------------------------------------------------+---------------+-----------------------+-------------+-----------+-----------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
| SVR_IP | SVR_PORT | TENANT_ID | LS_ID | TABLET_ID | TYPE | COMPACTION_SCN | START_TIME | FINISH_TIME | TASK_ID | OCCUPY_SIZE | MACRO_BLOCK_COUNT | MULTIPLEXED_MACRO_BLOCK_COUNT | NEW_MICRO_COUNT_IN_NEW_MACRO | MULTIPLEXED_MICRO_COUNT_IN_NEW_MACRO | TOTAL_ROW_COUNT | INCREMENTAL_ROW_COUNT | COMPRESSION_RATIO | NEW_FLUSH_DATA_RATE | PROGRESSIVE_COMPACTION_ROUND | PROGRESSIVE_COMPACTION_NUM | PARALLEL_DEGREE | PARALLEL_INFO | PARTICIPANT_TABLE | MACRO_ID_LIST | COMMENTS | START_CG_ID | END_CG_ID | KEPT_SNAPSHOT | MERGE_LEVEL | EXEC_MODE | IS_FULL_MERGE | IO_COST_TIME_PERCENTAGE | MERGE_REASON | BASE_MAJOR_STATUS | CO_MERGE_TYPE | MDS_FILTER_INFO | EXECUTE_TIME |
+--------------+----------+-----------+-------+-----------+-----------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+------------------------------------------------------+---------------+-----------------------+-------------+-----------+-----------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
| 192.168.5.95 | 2882 | 1002 | 1001 | 216186 | MDS_MINOR_MERGE | 1790608643541843004 | 2026-09-28 23:17:41.289118 | 2026-09-28 23:17:41.353250 | YB42C0A8055F-00065B689F248764-0-0 | 915 | 1 | 0 | 1 | 0 | 4 | 4 | 1 | 41 | 0 | 0 | 1 | - | table_cnt=2,start_scn=1,end_scn=1790608643541843004; | 7804 | comment=”cost_mb=2;”; | 0 | 0 | | MACRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 32 | | | | | 13874 |
| 192.168.5.97 | 2882 | 1002 | 1001 | 216186 | MDS_MINOR_MERGE | 1790608643541843000 | 2026-09-28 23:17:35.639470 | 2026-09-28 23:17:35.698838 | YB42C0A80561-00065B689A13F936-0-0 | 915 | 1 | 0 | 1 | 0 | 4 | 4 | 1 | 60 | 0 | 0 | 1 | - | table_cnt=2,start_scn=1,end_scn=1790608643541843000; | 6399 | comment=”cost_mb=2;”; | 0 | 0 | | MACRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 15 | | | | | 9352 |
| 192.168.5.97 | 2882 | 1002 | 1001 | 216186 | MINI_MERGE | 1790606876306852001 | 2026-09-28 23:16:43.133410 | 2026-09-28 23:16:43.210952 | YB42C0A80561-00065B689A13F320-0-0 | 266654 | 1 | 0 | 17 | 0 | 10000 | 10000 | 0.33 | 5028 | 0 | 0 | 1 | - | table_cnt=1,start_scn=1,end_scn=1790606876306852001; | 2018 | comment=”cost_mb=2;”; | 0 | 0 | {type:”SNAPSHOT_ON_TABLET”, snapshot:1790532000538312001} | MACRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 1 | | | | | 50612 |
| 192.168.5.95 | 2882 | 1002 | 1001 | 216186 | MINI_MERGE | 1790606876306852001 | 2026-09-28 23:16:42.102459 | 2026-09-28 23:16:42.237639 | YB42C0A8055F-00065B689F24814F-0-0 | 266654 | 1 | 0 | 17 | 0 | 10000 | 10000 | 0.33 | 2793 | 0 | 0 | 1 | - | table_cnt=1,start_scn=1,end_scn=1790606876306852001; | 1729 | comment=”cost_mb=2;”; | 0 | 0 | {type:”SNAPSHOT_ON_TABLET”, snapshot:1790532000538312001} | MACRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 3 | | | | | 92203 |
+--------------+----------+-----------+-------+-----------+-----------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+------------------------------------------------------+---------------+-----------------------+-------------+-----------+-----------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
4 rows in set (2.453 sec)
select * from __all_virtual_tenant_memstore_info where tenant_id =1002 limit 20;
+--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+
| svr_ip | svr_port | tenant_id | active_span | freeze_trigger | freeze_cnt | memstore_used | memstore_limit |
+--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+
| 192.168.5.97 | 2882 | 1002 | 92274688 | 353121156 | 5 | 92274688 | 1288490160 |
| 192.168.5.95 | 2882 | 1002 | 8388608 | 344103416 | 5 | 8388608 | 1288490160 |
+--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+
2 rows in set (0.054 sec)
SELECT * from gv$ob_memstore WHERE tenant_id = 1002;
+--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+
| SVR_IP | SVR_PORT | TENANT_ID | ACTIVE_SPAN | FREEZE_TRIGGER | FREEZE_CNT | MEMSTORE_USED | MEMSTORE_LIMIT |
+--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+
| 192.168.5.97 | 2882 | 1002 | 92274688 | 352911436 | 5 | 92274688 | 1288490160 |
| 192.168.5.95 | 2882 | 1002 | 12582912 | 344313136 | 5 | 12582912 | 1288490160 |
+--------------+----------+-----------+-------------+----------------+------------+---------------+----------------+
2 rows in set (0.056 sec)执行了很多次转储命令,但是对应的tablet只有这4行转储记录,租户的转储记录一直在增加
select distinct type from gv$OB_TABLET_COMPACTION_HISTORY; +-----------------+ | type | +-----------------+ | MAJOR_MERGE | | MEDIUM_MERGE | | MDS_MINOR_MERGE | | MINI_MERGE | | MINOR_MERGE | | BATCH_EXEC | +-----------------+ 6 rows in set (1.046 sec)
1. 手动触发转储
1. ALTER SYSTEM MINOR FREEZE;
SELECT * FROM oceanbase.GV$OB_TABLET_COMPACTION_HISTORY WHERE TENANT_ID =1002 AND TABLET_ID =216186 ORDER BY START_TIME DESC LIMIT 5;
+--------------+----------+-----------+-------+-----------+-----------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+--------------------------------------------------------------------------------------------------------+---------------+---------------------------------------------------------------------------------+-------------+-----------+-----------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
| SVR_IP | SVR_PORT | TENANT_ID | LS_ID | TABLET_ID | TYPE | COMPACTION_SCN | START_TIME | FINISH_TIME | TASK_ID | OCCUPY_SIZE | MACRO_BLOCK_COUNT | MULTIPLEXED_MACRO_BLOCK_COUNT | NEW_MICRO_COUNT_IN_NEW_MACRO | MULTIPLEXED_MICRO_COUNT_IN_NEW_MACRO | TOTAL_ROW_COUNT | INCREMENTAL_ROW_COUNT | COMPRESSION_RATIO | NEW_FLUSH_DATA_RATE | PROGRESSIVE_COMPACTION_ROUND | PROGRESSIVE_COMPACTION_NUM | PARALLEL_DEGREE | PARALLEL_INFO | PARTICIPANT_TABLE | MACRO_ID_LIST | COMMENTS | START_CG_ID | END_CG_ID | KEPT_SNAPSHOT | MERGE_LEVEL | EXEC_MODE | IS_FULL_MERGE | IO_COST_TIME_PERCENTAGE | MERGE_REASON | BASE_MAJOR_STATUS | CO_MERGE_TYPE | MDS_FILTER_INFO | EXECUTE_TIME |
+--------------+----------+-----------+-------+-----------+-----------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+--------------------------------------------------------------------------------------------------------+---------------+---------------------------------------------------------------------------------+-------------+-----------+-----------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
| 192.168.5.95 | 2882 | 1002 | 1001 | 216186 | MINI_MERGE | 1790645034110859001 | 2026-09-29 09:25:38.657559 | 2026-09-29 09:25:39.535553 | YB42C0A8055F-00065B689F24B34C-0-0 | 2061693 | 1 | 0 | 127 | 0 | 50000 | 50000 | 0.55 | 2332 | 0 | 0 | 1 | - | table_cnt=1,start_scn=1790618920290910004,end_scn=1790645034110859001; | 5384 | comment=”cost_mb=2;time=add_time:1790645037896800|wait_schedule_time=100.75s;”; | 0 | 0 | {type:”SNAPSHOT_ON_TABLET”, snapshot:1790618920290910003} | MACRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 0 | | | | | 854580 |2. 日志链条

[2026-09-29 09:25:38.649062] INFO [SERVER] add_task (ob_sys_task_stat.cpp:164) [493][T1002_DagSchedu][T1002][Y0-0000000000000000-0-0] [lt=53] succeed to add sys task(task={start_time:1790645138649045, task_id:YB42C0A8055F-00065B689F24B34C-0-0, task_type:3, svr_ip:”192.168.5.95:2882”, tenant_id:1002, is_cancel:false, comment:”MINI_MERGE;ls_id=1001;tablet_id=216186; compaction_scn=0;exec_mode=”EXEC_MODE_LOCAL”,concurrent_cnt=0”})
[2026-09-29 09:25:38.649105] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [493][T1002_DagSchedu][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=30] 调度DAG schedule one task(task={this:0x7fa4d92babb0, type:15, status:2, dag:{ObIDag:{this:0x7fa4d92ba5f0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8055F-00065B689F24B34C-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790645037896800, start_time:1790645138649094
`type:15` = **TASK_TYPE_SSTABLE_MERGE_PREPARE**(`ob_tenant_dag_scheduler.h:178`)→ 第一个被派发的是 prepare 任务
`status:2` = TASK_STATUS_RUNNING(`h:373`);`dag_status:2` = DAG_STATUS_NODE_RUNNING(`h:504`)
此刻 DAG 里只有 1 个任务(prepare 自己)
running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-4365010218525973882, task_list_.get_size():1, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:null}}, priority=”PRIO_COMPACTION_HIGH”, total_running_task_cnt=6, running_task_cnts_=6, limits_=6, adaptive_task_limit=6, task->get_dag()->get_dag_net()=NULL)
[2026-09-29 09:25:38.649308] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=1] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”6640”, tenant_id=1002, group_id=0)
[2026-09-29 09:25:38.657279] INFO [STORAGE.TRANS] get_schema_info (ob_memtable.cpp:2258) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=19] column cnt or schema version is updated by memtable(this={ObITabletMemtable:{ObITable:{this:0x7fa6b91c4910, key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MEMTABLE”, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}, ref_cnt:4, upper_trans_version:9223372036854775807, timestamp:1790644944886249}, ls_id_:{id:1001}, allow_freeze_:true, is_flushed_:false, is_tablet_freeze_:false, logging_blocked_:false, resolved_active_memtable_left_boundary_:true, unset_active_memtable_logging_blocked_:false, has_backoffed_:false, offlined_:false, read_barrier_:false, freeze_clock_:46, freeze_state_:3, unsubmitted_cnt_:0, init_timestamp_:1790644944886249, max_schema_version_:0, write_ref_cnt_:0, max_end_scn_:{val:1790645034110859001, v:0}, rec_scn_:{val:1790644944706238002, v:0}, freeze_scn_:{val:1790645034110859001, v:0}, freezer_:0x7fa6bf52d490, memtable_mgr_handle_:{memtable_mgr:0x7fa6889ce800, pool:0x7fa6d03f2030}, mt_stat_.frozen_time_:1790645034404873 冻结完成时间, mt_stat_.ready_for_flush_time_:1790645034406734( 可转储(READY_FOR_FLUSH)), mt_stat_.create_flush_dag_time_:1790645037896766创建转储 DAG , mt_stat_.release_time_:0, mt_stat_.push_table_into_gc_queue_time_:0, mt_stat_.last_print_time_:0}, this:0x7fa6b91c4910, state:0, max_data_schema_version:1790605704364936, max_column_cnt:7, local_allocator:{ListHandle:{freeze_stat:2, id:1001, clock:1101004800}, host:0x7fa6d2b85330, arena_handle:{allocated:20971520}}, contain_hotspot_row:false, snapshot_version:{val:1790645034110859000, v:0}, contain_hotspot_row:false, ls_id:{id:1001}, transfer_freeze_flag:false, recommend_snapshot_version:{val:18446744073709551615, v:3}, is_delete_insert_table:false}, max_column_cnt_on_memtable=0, max_schema_version_on_memtable=0)
[2026-09-29 09:25:38.657399] INFO [STORAGE.COMPACTION] update_storage_schema_by_memtable (ob_basic_tablet_merge_ctx.cpp:1241) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=116] get storage schema to merge(param={skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, static_param_.schema={this:0x7fa358e9a060, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0, is_column_table_schema:0, enable_macro_block_bloom_filter:0, column_cnt:7, store_column_cnt:7, tablet_size:134217728, pctfree:0, block_size:16384, progressive_merge_round:1, master_key_id:18446744073709551615, compressor_type:6, encryption:””, encrypt_key:””, rowkey_cnt:1, rowkey_array:[{column_idx:16, meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, order:0}], column_cnt:7, column_array:[{meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:1, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}], skip_index_cnt:0, skip_idx_attr_array:[], column_group_cnt:1, column_group_array:[{version:1, type:1, compressor_type:6, row_store_type:1, block_size:16384, schema_column_cnt:7, rowkey_column_cnt:3, schema_rowkey_column_cnt:1, column_cnt:9, column_idxs:null}], has_all_column_group:true, merge_engine_type:0}, schema_on_tablet={this:0x7fa358e9a060, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0, is_column_table_schema:0, enable_macro_block_bloom_filter:0, column_cnt:7, store_column_cnt:7, tablet_size:134217728, pctfree:0, block_size:16384, progressive_merge_round:1, master_key_id:18446744073709551615, compressor_type:6, encryption:””, encrypt_key:””, rowkey_cnt:1, rowkey_array:[{column_idx:16, meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, order:0}], column_cnt:7, column_array:[{meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:1, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}], skip_index_cnt:0, skip_idx_attr_array:[], column_group_cnt:1, column_group_array:[{version:1, type:1, compressor_type:6, row_store_type:1, block_size:16384, schema_column_cnt:7, rowkey_column_cnt:3, schema_rowkey_column_cnt:1, column_cnt:9, column_idxs:null}], has_all_column_group:true, merge_engine_type:0}, max_column_cnt_in_memtable=7, max_schema_version_in_memtable=1790605704364936)
[2026-09-29 09:25:38.657531] INFO [STORAGE] init (ob_partition_parallel_merge_ctx.cpp:117) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=118] Succ to init parallel merge ctx(ret=0, enable_parallel_minor_merge=true, tablet_size=134217728, merge_ctx.get_dag_param()={skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, concurrent_cnt_=1)
[2026-09-29 09:25:38.657585] INFO [STORAGE] init (ob_data_store_desc.cpp:912) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=14] success to init data store desc(ret=0, ret=”OB_SUCCESS”, cg_schema=NULL, table_cg_idx=0, this={desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}})
[2026-09-29 09:25:38.657667] INFO [STORAGE] init (ob_index_block_builder.cpp:562) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=70] init sstable index builder(ret=0, data_desc={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, index_store_desc_={desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7fa4582060d0, need_pre_warm:true, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}}, container_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}, leaf_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7fa4582060d0, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:2095976}, &object_cleaner_=0x7fa45820c898)
[2026-09-29 09:25:38.660536] INFO [STORAGE.COMPACTION] process (ob_tablet_merge_task.cpp:894) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=2841] succeed to build merge ctx(tablet_id={id:216186}, finish_flag=false, ctx={ObBasicTabletMergeCtx:{static_param:{dag_param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}, version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, is_full_merge:false, concurrent_cnt:1, merge_level:0, major_sstable_status:0, merge_reason:”NONE”, co_major_merge_type:”INVALID_CO_MAJOR_MERGE_TYPE”, sstable_logic_seq:0, tables_handle:{tablet_id:{id:216186}, table_count:1, [{i:0, table_key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MEMTABLE”, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}, ref:3}]}, is_rebuild_column_store:false, is_schema_changed:false, is_tenant_major_merge:false, is_cs_replica:false, read_base_version:0, merge_scn:{val:1790645034110859001, v:0}, need_parallel_minor_merge:true, schema:0x7fa358e9a060, multi_version_column_descs_cnt:3, ls_handle:{ls_map_:0x7fa6d37f6050, ls_:0x7fa6bf522150, mod_:21}, snapshot_info:{type:”SNAPSHOT_ON_TABLET”, snapshot:1790618920290910003}, is_backfill:false, tablet_schema_guard:{is_inited:false, schema:null}, tablet_transfer_seq:0, co_base_snapshot_version:0, for_unittest:false, is_cs_replica_force_full_merge:false, is_delete_insert_merge:false, is_ha_compeleted:true}, static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, parallel_merge_ctx:{concurrent_cnt:1, }, tablet_handle:{obj:0x7fa4f38040a0, obj_pool:0x7fa6d2a35d70, allocator:null, wash_priority:0, allow_copy_and_assign:true}, info_collector:{merge_progress:0x7fa358e98060, time_guard:add_time:1790645037896800|wait_schedule_time=100.75s, error_location:(null):-1((null))}, merge_dag:0x7fa4d92ba5f0}, merge_info:{is_inited:true, merge_history:{static_info:{ls_id:{id:1001}, tablet_id:{id:216186}, merge_type:”MINI_MERGE”, compaction_scn:1790645034110859001, is_full_merge:false, concurrent_cnt:1, merge_level:”MACRO_BLOCK_LEVEL”, exec_mode:”EXEC_MODE_LOCAL”, merge_reason:”NONE”, base_major_status:”invalid_co_major_status”, co_major_merge_type:”INVALID_CO_MAJOR_MERGE_TYPE”, kept_snapshot_info:{type:”invalid_snapshot_type”, snapshot:0}, participant_table_info:{is_major_merge:false, table_cnt:0, snapshot_version:0, start_scn:0, end_scn:0}, mds_filter_info_str:””, progressive_merge_round:0, progressive_merge_num:0, is_fake:false}, running_info:{merge_start_time:1790645138657559, merge_finish_time:0, execute_time:0, dag_id:Y0-0000000000000000-0-0, start_cg_idx:0, end_cg_idx:0, io_percentage:0, parallel_merge_info:{{type:”scan_units”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”cost_time”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”use_old_macro_block_cnt”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”incremental_row_count”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, }}, block_info:{occupy_size:0, original_size:0, macro_block_count:0, multiplexed_macro_block_count:0, new_micro_count_in_new_macro:0, multiplexed_micro_count_in_new_macro:0, total_row_count:0, incremental_row_count:0, new_micro_info:{meta_micro_size:0, data_micro_size:0}, block_io_us:0}, diagnose_info:{dag_ret:0, retry_cnt:0, suspect_add_time:0, early_create_time:0, error_location:(null):-1((null))}}, sstable_builder:{data_store_desc:{desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}}, index_builder:{roots_.count():0}, index_read_info:0x7fa4f3804500, rebuilder_ptr:NULL}}})
[2026-09-29 09:25:38.660708] INFO [COMMON] do_work (ob_tenant_dag_scheduler.cpp:348) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=169] task finish process(ret=0, start_time=1790645138649327, end_time=1790645138660707, runtime=11380, *this={this:0x7fa4d92babb0, type:15, status:2, dag:{ObIDag:{this:0x7fa4d92ba5f0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8055F-00065B689F24B34C-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790645037896800, start_time:1790645138649094, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-4365010218525973882, task_list_.get_size():3, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}}})
prepare完成、 完成瞬间变成 3, prepare 移除后:merge + finish
[2026-09-29 09:25:38.660779] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [6640][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=33] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”6640”, tenant_id=1002, group_id=0)
[2026-09-29 09:25:38.660827] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [493][T1002_DagSchedu][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=78] schedule one task(task={this:0x7fa505896030, type:1, status:2, dag:{ObIDag:{this:0x7fa4d92ba5f0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8055F-00065B689F24B34C-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790645037896800, start_time:1790645138649094, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-4365010218525973882, task_list_.get_size():2, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}}}, priority=”PRIO_COMPACTION_HIGH”, total_running_task_cnt=6, running_task_cnts_=6, limits_=6, adaptive_task_limit=6, task->get_dag()->get_dag_net()=NULL)
type:1 TASK_TYPE_MACROMERGE (h:164)
[2026-09-29 09:25:38.660930] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=35] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”6630”, tenant_id=1002, group_id=0)
[2026-09-29 09:25:38.660985] INFO [STORAGE.COMPACTION] init (ob_tablet_merge_task.cpp:136) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=49] success to init ObMergeParameter(ret=0, idx=0, static_param_.merge_scn={val:1790645034110859001, v:0}, merge_version_range={multi_version_start:1790618920290910003, base_version:0, snapshot_version:4611686018427387901}, merge_rowid_range={start_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, end_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, group_idx:0, border_flag:{flag:0}})
[2026-09-29 09:25:38.661087] INFO [STORAGE] init (ob_partition_merge_fuser.cpp:209) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=22] Succ to init partition fuser(ret=0, *this={ObIPartitionMergeFuser:{ObMergeFuser:{column_cnt:9, 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, have_uncommited_row:0, fast_filter_skipped:0, is_insert_filtered:0, is_delete_filtered:0, insert_version:0, delete_version:0, group_idx:0, count:9, datum_buffer:{capacity:16, datums:0x7fa358e90960, local_datums:0x7fa358e90960}, 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]}, is_inited:true}, cur_fuser:”ObIPartitionMergeFuser”}, multi_version_rowkey_column_cnt:3})
[2026-09-29 09:25:38.661169] INFO [STORAGE] inner_open_macro_writer (ob_partition_merger.cpp:295) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=35] success to open macro writer with pre warmer(data_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7fa4582060d0, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, macro_seq_param={seq_type:0, start:0, interval:0, step:0}, macro_writer_={block_write_ctx:{macro_block_list_.count():0, use_old_macro_block_count:0}}, ctx.get_pre_warm_param()={type:1, fixed_percentage:0}, validator=NULL)
[2026-09-29 09:25:38.661271] INFO [STORAGE] init_merge_iters (ob_partition_rows_merger.cpp:615) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=73] Succ to init iter(ret=0, i=0, merge_iter={ObPartitionMinorRowMergeIter:{is_inited:true, tablet_id:{id:216186}, iter_end:false, schema_rowkey_column_cnt:1, schema_version:1790605704364936, 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}}, table_key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MEMTABLE”, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}, iter_row_count:0, curr_row_:NULL, iter_row_id:-1, last_macro_block_reused:false, is_rowkey_first_row_already_output:false, is_base_iter:true, is_delete_insert_merge:false, is_ha_compeleted:true}, ghost_row_count:0, check_committing_trans_compacted:true, row_queue:{col_cnt:9, cur_pos:0, count:0}})
[2026-09-29 09:25:38.661890] INFO [STORAGE.BLKMGR] alloc_object (ob_block_manager.cpp:291) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=35] successfully alloc block(macro_id={[ver=1,mode=0,seq=1572789][2nd=5384]})
[2026-09-29 09:25:39.510653] INFO [STORAGE] write_meta_block (ob_index_block_builder.cpp:3105) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=14] succeed to write macro meta in macro block(ret=0, macro_meta_={val:{version:1, length:158, data_checksum:1646320165, rowkey_count:3, column_count:9, micro_block_count:127, occupy_size:2061693, data_size:3731218, data_zsize:2053316, original_size:3731218, progressive_merge_round:1, block_offset:2061693, block_size:5687, row_count:50000, row_count_delta:50000, max_merged_trans_version:1790644956654203000, is_encrypted:false, is_deleted:false, contain_uncommitted_row:false, compressor_type:2, master_key_id:0, encrypt_id:0, encrypt_key:””, row_store_type:0, schema_version:1790605704364936, snapshot_version:1790645034110859000, is_last_row_last_flag:true, logic_id:{data_seq:{data_seq:0, parallel_idx:0, block_type:0, merge_type:0, sstable_logic_seq:0, reserved:0, sign:0, macro_data_seq:0}, logic_version:1790645034110859001, tablet_id:216186, column_group_idx:0, is_mds:false}, macro_id:{[ver=1,mode=0,seq=1572789][2nd=5384]}, column_checksums:[0, 0, 0, 0, 0, 0, 0, 0, 0], has_string_out_row:false, all_lob_in_row:false, agg_row_len:0, agg_row_buf:null, ddl_end_row_offset:-1, macro_block_bf_size:0, macro_block_bf_buf:null}, end_key:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7fa344ea6070, hex: A086010000000000, int: 100000}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7fa344ea60a8, hex: 880FC82FE65926E7, int: -1790644956654203000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7fa344ea60e0, hex: 0000000000000000, int: 0}], store_rowkey:}, nested_offset:0, nested_size:0})
[2026-09-29 09:25:39.511563] INFO [STORAGE] sn_async_write (ob_storage_object_handle.cpp:301) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=94] Async write macro block(macro_id_={[ver=1,mode=0,seq=1572789][2nd=5384]})
[2026-09-29 09:25:39.511584] INFO [STORAGE] flush (ob_macro_block.cpp:414) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=18] macro block writer succeed to flush macro block.(block_id={[ver=1,mode=0,seq=1572789][2nd=5384]}, need_flush_macro=true, common_header_={header_size:24, version:1, magic:1001, attr:1, payload_size:2067582, payload_checksum:-967354747}, macro_header_={fixed_header:{header_size:225, version:2, magic:1007, tablet_id:216186, logical_version:1790645034110859001, data_seq:0, column_count:9, rowkey_column_count:3, row_store_type:0, row_count:50000, occupy_size:2061693, micro_block_count:127, micro_block_data_offset:249, micro_block_data_size:2061444, idx_block_offset:2061693, idx_block_size:5687, meta_block_offset:2067380, meta_block_size:226, data_checksum:1646320165, compressor_type:2, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, col_type_array_cnt:3}, column_types:0x7fa60b204140, column_orders:0x7fa60b20414c, column_checksum:0x7fa60b204158, is_normal_cg:false, column_checksum:[0, 0, 0, 0, 0, 0, 0, 0, 0], column_types:[{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}]}, contain_uncommitted_row=false, max_merged_trans_versinotallow=1790644956654203000, ¯o_handle=0x7fa5af4b3a38, table_cg_idx=0)
[2026-09-29 09:25:39.514989] INFO [STORAGE] close (ob_index_block_builder.cpp:3296) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=149] succeed to close data index builder(index_tree_root_ctx={allocator_:0x7fa4582060d0, is_inited:true, task_type:0, last_key:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7fa344e8e7a0, hex: A086010000000000, int: 100000}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7fa344e8e7d8, hex: 880FC82FE65926E7, int: -1790644956654203000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7fa344e8e810, hex: 0000000000000000, int: 0}], store_rowkey:}, task_idx:0, meta_block_offset:2067380, meta_block_size:226, last_macro_size:2067606, clustered_micro_info_array:0x7fa344e8e190, absolute_offsets:null, index_tree_info:{is_meta:false, state:3, need_rewrite:false, row_count:0, micro_block_cnt:0, macro_meta_list:NULL, micro_block_desc:NULL, agg_info:NULL, block_write_ctx:NULL, next_level_rows_list:null}, meta_block_info:{is_meta:true, state:1, need_rewrite:false, row_count:1, micro_block_cnt:1, macro_meta_list:NULL, micro_block_desc:{last_rowkey:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7fa344e8e7a0, hex: A086010000000000, int: 100000}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7fa344e8e7d8, hex: 880FC82FE65926E7, int: -1790644956654203000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7fa344e8e810, hex: 0000000000000000, int: 0}], store_rowkey:}, header:{magic:1005, version:3, header_size:64, header_checksum:-17336, column_count:4, rowkey_column_count:3, has_column_checksum:0, row_count:1, row_store_type:0, opt:0, var_column_count:0, compressor_type:0, row_offset:260, original_length:204, max_merged_trans_version:0, min_merged_trans_version:9223372036854775807, data_length:204, data_zlength:204, data_checksum:2663588075, column_checksums:0x7fffffffffffffff, single_version_rows:0, contain_uncommitted_rows:0, is_last_row_last_flag:0, is_valid():true}, buf:0x7fa344e8e880, aggregated_row:null, buf_size:204, data_size:204, row_count:1, column_count:4, max_merged_trans_version:0, macro_id:{[ver=1,mode=0,seq=0][2nd=9223372036854775807]}, logic_micro_id:{version:0, offset:0, logic_macro_id:{data_seq:{data_seq:0, parallel_idx:0, block_type:0, merge_type:0, sstable_logic_seq:0, reserved:0, sign:0, macro_data_seq:0}, logic_version:0, tablet_id:0, column_group_idx:0, is_mds:false}}, block_offset:0, block_checksum:3945881720, row_count_delta:0, contain_uncommitted_row:false, can_mark_deletion:false, has_string_out_row:false, has_lob_out_row:true, is_last_row_last_flag:false, original_size:204}, agg_info:NULL, block_write_ctx:NULL, next_level_rows_list:null}, data_blocks_info:NULL, data_write_ctx:{macro_block_list_.count():1, use_old_macro_block_count:0}})
[2026-09-29 09:25:39.515119] INFO [STORAGE.COMPACTION] merge_partition (ob_partition_merger.cpp:1059) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=121] get current compaction task's mem peak(ret=0, mem_peak_total=2816629)
[2026-09-29 09:25:39.515132] INFO [STORAGE.COMPACTION] process (ob_tablet_merge_task.cpp:1256) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=11] merge macro blocks ok(idx_=0, task={this:0x7fa505896030, type:1, status:2, dag:{ObIDag:{this:0x7fa4d92ba5f0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8055F-00065B689F24B34C-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790645037896800, start_time:1790645138649094, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-4365010218525973882, task_list_.get_size():2, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}}})
[2026-09-29 09:25:39.515206] INFO [STORAGE.COMPACTION] reset (ob_partition_rows_merger.cpp:929) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=38] partition merge iter row count(i=0, row_count=50000, ghost_row_count=0, table_key={tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MEMTABLE”, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}})
[2026-09-29 09:25:39.515238] INFO [COMMON] do_work (ob_tenant_dag_scheduler.cpp:348) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=18] task finish process(ret=0, start_time=1790645138660981, end_time=1790645139515236, runtime=854255, *this={this:0x7fa505896030, type:1, status:2, dag:{ObIDag:{this:0x7fa4d92ba5f0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8055F-00065B689F24B34C-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790645037896800, start_time:1790645138649094, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-4365010218525973882, task_list_.get_size():2, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}}})
[2026-09-29 09:25:39.515314] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [6630][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=38] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”6630”, tenant_id=1002, group_id=0)
[2026-09-29 09:25:39.516896] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [493][T1002_DagSchedu][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=52] REACH SYSLOG RATE LIMIT [bandwidth]
/*
[2026-09-23 00:19:21.666369] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [25014][T1002_DagSchedu][T1002][YB42C0A8056A-00065A5EE8876865-0-0] [lt=35] schedule one task(task={this:0x7f2e4e6044f0, type:16, status:2, dag:{ObIDag:{this:0x7f2dfdfab3b0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8056A-00065A5EE8876865-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790093961606737, start_time:1790093961611943, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-9182113582372676823, task_list_.get_size():1, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:200701}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790092150909831001, base_version:0, snapshot_version:1790093961031536000}, scn_range:{start_scn:{val:1790093850848824021, v:0}, end_scn:{val:1790093961162900000, v:0}}}}}, priority=”PRIO_COMPACTION_HIGH”, total_running_task_cnt=2, running_task_cnts_=2, limits_=6, adaptive_task_limit=6, task->get_dag()->get_dag_net()=NULL)
*/
16 TASK_TYPE_SSTABLE_MERGE_FINISH
[2026-09-29 09:25:39.517052] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=9] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”6635”, tenant_id=1002, group_id=0)
[2026-09-29 09:25:39.517088] INFO [STORAGE.COMPACTION] create_sstable (ob_tablet_merge_ctx.cpp:70) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=31] create new merged sstable(dag_param={skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, snapshot_versinotallow=1790645034110859000, scn_range={start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}})
[2026-09-29 09:25:39.517144] INFO [STORAGE] init (ob_index_block_builder.cpp:562) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=17] init sstable index builder(ret=0, data_desc={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, index_store_desc_={desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7fa5e641a090, need_pre_warm:true, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}}, container_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}, leaf_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7fa5e641a090, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:2095976}, &object_cleaner_=0x7fa5e6420858)
[2026-09-29 09:25:39.517498] INFO [STORAGE] build_single_node_tree (ob_index_block_builder.cpp:3652) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=213] successfully build single node tree, whose root is a data root(ret=0, block_desc={addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=268,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, buf:0x7fa458278bb0, height:1, is_meta_root:true})
[2026-09-29 09:25:39.517534] INFO [STORAGE] close_with_macro_seq_inner (ob_index_block_builder.cpp:1679) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=16] succeed to close sstable index builder(res={root_desc:{addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=294,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, buf:0x7fa458294bc0, height:2, is_meta_root:false}, data_root_desc:{addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=268,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, buf:0x7fa458278bb0, height:1, is_meta_root:true}, data_block_ids_.count():1, other_block_ids_.count():0, index_blocks_cnt:0, data_blocks_cnt:1, micro_block_cnt:127, data_column_cnt:9, data_column_checksums:[0, 0, 0, 0, 0, 0, 0, 0, 0], row_count:50000, max_merged_trans_version:1790644956654203000, contain_uncommitted_row:false, occupy_size:2061693, original_size:3731218, data_checksum:833084180, use_old_macro_block_count:0, compressor_type:2, root_row_store_type:0, nested_offset:0, nested_size:2097152, table_backup_flag:{has_backup_flag:0, has_local_flag:0}, root_macro_seq:0, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”}, this=0x7fa4582060d0)
[2026-09-29 09:25:39.517612] INFO [STORAGE.COMPACTION] build_update_table_store_param (ob_basic_tablet_merge_ctx.cpp:1060) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=31] success to init ObUpdateTableStoreParam(ret=0, ret=”OB_SUCCESS”, param={sstable:0x7fa358e9a3e0, snapshot_version:1790645034110859000, multi_version_start:1790618920290910003, storage_schema:{this:0x7fa358e9a060, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0, is_column_table_schema:0, enable_macro_block_bloom_filter:0, column_cnt:7, store_column_cnt:7, tablet_size:134217728, pctfree:0, block_size:16384, progressive_merge_round:1, master_key_id:18446744073709551615, compressor_type:6, encryption:””, encrypt_key:””, rowkey_cnt:1, rowkey_array:[{column_idx:16, meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, order:0}], column_cnt:7, column_array:[{meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:1, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}], skip_index_cnt:0, skip_idx_attr_array:[], column_group_cnt:1, column_group_array:[{version:1, type:1, compressor_type:6, row_store_type:1, block_size:16384, schema_column_cnt:7, rowkey_column_cnt:3, schema_rowkey_column_cnt:1, column_cnt:9, column_idxs:null}], has_all_column_group:true, merge_engine_type:0}, rebuild_seq:0, compaction_info:{clog_checkpoint_scn:{val:1790645034110859001, v:0}, need_report:false, merge_type:”MINI_MERGE”, major_ckm_info:{is_empty:true}, has_truncate_info:false}, ha_info:{transfer_seq:0, need_check_sstable:false, need_check_transfer_seq:true, need_replace_remote_sstable:false, is_only_replace_major:false}, ddl_info:{keep_old_ddl_sstable:true, update_with_major_flag:false, ddl_start_scn:{val:0, v:0}, ddl_commit_scn:{val:0, v:0}, ddl_checkpoint_scn:{val:0, v:0}, ddl_snapshot_version:0, ddl_execution_id:-1, data_format_version:0, ddl_redo_callback:null, ddl_finish_callback:null, ddl_replay_status:16, slice_sstables:[]}, allow_duplicate_sstable:false, upper_trans_param:{new_upper_trans:null, last_minor_end_scn:{val:0, v:0}}})
[2026-09-29 09:25:39.519906] INFO [STORAGE] build_new_table_store (ob_tablet_table_store.cpp:1462) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=121] succeed to build new table store(this=0x7fa63c7827c0, major_tables_={cnt:1, sstable_array:0x7fa63c782960, serialize_table_type:false, is_inited:true}, minor_tables_={cnt:1, sstable_array:0x7fa63c783430, serialize_table_type:false, is_inited:true}, mds_sstables_={cnt:1, sstable_array:0x7fa63c783dc0, serialize_table_type:false, is_inited:true}, memtables_={count:0}, PRINT_TS(*this)={ObTabletTableStore_Pretty:this:0x7fa5e3fcef58, major_tables:{cnt:1, sstable_array:0x7fa63c782960, serialize_table_type:false, is_inited:true}, minor_tables:{cnt:1, sstable_array:0x7fa63c783430, serialize_table_type:false, is_inited:true}, mds_sstables:{cnt:1, sstable_array:0x7fa63c783dc0, serialize_table_type:false, is_inited:true}, memtables:{count:0}, is_ready_for_read:true, table_array:{
[6635][T1002_MINI_MERG][T1002] [YB42C0A8055F-00065B689F24B34C-0-0] table_arr table_type start_slice_idx end_slice_idx upper_trans_ver max_merge_ver start_scn end_scn ref uncommit_row
[6635][T1002_MINI_MERG][T1002] [YB42C0A8055F-00065B689F24B34C-0-0] MAJOR MAJOR 0 0 0 1790614662428902000 0 1790618919825861000 0 false
[6635][T1002_MINI_MERG][T1002] [YB42C0A8055F-00065B689F24B34C-0-0] MINOR MINI 0 0 1790644956654203000 1790644956654203000 1790618920290910004 1790645034110859001 0 false
[6635][T1002_MINI_MERG][T1002] [YB42C0A8055F-00065B689F24B34C-0-0] MDS MDS_MINOR 0 0 1790644955212804001 1790644955212804001 1 1790645033608866002 0 false }})
[2026-09-29 09:25:39.520284] INFO [STORAGE] inc_ref_with_macro_iter (ob_tablet.cpp:3397) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=60] the tablet that inner increases ref cnt is(ret=0, hold_ref_cnt_=false, ls_id={id:1001}, tablet_id={id:216186}, table_store_addr_.addr_={[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=408,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, storage_schema_addr_.addr_={[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=408,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, tablet_addr_={[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=1120,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, this=0x7fa63c782060, macro_iter={macro_info:{entry_block:{[ver=1,mode=0,seq=0][2nd=18446744073709551615]}, meta_block_info_arr:{cnt:0, arr:null, capacity:0}, data_block_info_arr:{cnt:2, arr:0x7fa63452cff0, capacity:2}, shared_meta_block_info_arr:{cnt:1, arr:0x7fa63452d040, capacity:1}, shared_data_block_info_arr:{cnt:1, arr:0x7fa63452d070, capacity:1}, is_inited:true}, cur_type:4, target_type:6, is_linked:false}, lbt()=”0x34c641f2 0x1e67b27c 0x3521321b 0x351dc014 0x3524c55a 0x3527748a 0x350612e0 0x35061198 0x35060bc9 0x3506024c 0x3559e015 0x350fd6e9 0x350fc926 0x7fa733a2cea5 0x7fa733755b0d”)
[2026-09-29 09:25:39.520323] INFO [STORAGE] init_for_merge (ob_tablet.cpp:538) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=37] succeeded to init tablet for mini/minor/major merge(ret=0, param={sstable:0x7fa358e9a3e0, snapshot_version:1790645034110859000, multi_version_start:1790618920290910003, storage_schema:{this:0x7fa358e9a060, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0, is_column_table_schema:0, enable_macro_block_bloom_filter:0, column_cnt:7, store_column_cnt:7, tablet_size:134217728, pctfree:0, block_size:16384, progressive_merge_round:1, master_key_id:18446744073709551615, compressor_type:6, encryption:””, encrypt_key:””, rowkey_cnt:1, rowkey_array:[{column_idx:16, meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, order:0}], column_cnt:7, column_array:[{meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:1, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}], skip_index_cnt:0, skip_idx_attr_array:[], column_group_cnt:1, column_group_array:[{version:1, type:1, compressor_type:6, row_store_type:1, block_size:16384, schema_column_cnt:7, rowkey_column_cnt:3, schema_rowkey_column_cnt:1, column_cnt:9, column_idxs:null}], has_all_column_group:true, merge_engine_type:0}, rebuild_seq:0, compaction_info:{clog_checkpoint_scn:{val:1790645034110859001, v:0}, need_report:false, merge_type:”MINI_MERGE”, major_ckm_info:{is_empty:true}, has_truncate_info:false}, ha_info:{transfer_seq:0, need_check_sstable:false, need_check_transfer_seq:true, need_replace_remote_sstable:false, is_only_replace_major:false}, ddl_info:{keep_old_ddl_sstable:true, update_with_major_flag:false, ddl_start_scn:{val:0, v:0}, ddl_commit_scn:{val:0, v:0}, ddl_checkpoint_scn:{val:0, v:0}, ddl_snapshot_version:0, ddl_execution_id:-1, data_format_version:0, ddl_redo_callback:null, ddl_finish_callback:null, ddl_replay_status:16, slice_sstables:[]}, allow_duplicate_sstable:false, upper_trans_param:{new_upper_trans:null, last_minor_end_scn:{val:0, v:0}}}, old_tablet={this:0x7fa4f38040a0, is_inited:true, wash_score:1790645138932848000, hold_ref_cnt:true, ref_cnt:3, version:4, length:0, tablet_addr:{[ver=1,mode=0,seq=1570245][2nd=6297][3rd=0][offset=1372160,size=738,type=4,seq=0][trans_seq=0, sec_part=0][6th=0]}, allocator:null, tablet_meta:{version:1, ls_id:{id:1001}, tablet_id:{id:216186}, data_tablet_id:{id:216186}, ref_tablet_id:{id:0}, has_next_tablet:false, create_scn:{val:18446744073709551615, v:3}, start_scn:{val:1790618920290910004, v:0}, clog_checkpoint_scn:{val:1790618920290910004, v:0}, ddl_checkpoint_scn:{val:1, v:0}, snapshot_version:1790618920290910003, multi_version_start:1790618920290910003, compat_mode:0, ha_status:{restore_status:0, data_status:0, expected_status:0, reserved:0}, report_status:{merge_snapshot_version:1790618919825861000, cur_report_version:1790618919825861000, data_checksum:4075166546, row_count:50000, found_cg_checksum_error:false}, table_store_flag:{with_major_sstable:1, is_user_data_table:-1}, ddl_start_scn:{val:0, v:0}, ddl_snapshot_version:0, max_sync_storage_schema_version:0, max_serialized_medium_scn:0, ddl_execution_id:-1, ddl_data_format_version:0, ddl_commit_scn:{val:0, v:0}, mds_checkpoint_scn:{val:1790645033608866002, v:0}, transfer_info:{ls_id:{id:0}, transfer_start_scn:{val:0, v:0}, transfer_seq:0, has_transfer_table:false}, extra_medium_info:{info:257, compat:1, last_compaction_type:1, wait_check_flag:0, last_medium_scn:1790618919825861000}, last_persisted_committed_tablet_status:{tablet_status:{val:1, str:”NORMAL”}, transfer_scn:{val:18446744073709551615, v:3}, transfer_ls_id:{id:-1}, data_type:1, create_commit_scn:{val:1790605704976849000, v:0}, create_commit_version:1790605704976849000, delete_commit_scn:{val:18446744073709551615, v:3}, delete_commit_version:-1, start_transfer_commit_version:-1, start_split_commit_version:-1}, create_schema_version:1790605704364920, space_usage:{all_sstable_data_occupy_size:1093319, all_sstable_data_required_size:2097152, all_sstable_meta_size:0, ss_public_sstable_occupy_size:0, tablet_clustered_meta_size:12288, tablet_clustered_sstable_data_size:4096, backup_bytes:0}, micro_index_clustered:false, ddl_replay_status:14, split_info:{split_info:0, split_src_tablet_id:{id:0}}, has_truncate_info:false}, table_store_addr:{ptr:0x7fa4f38046ec, addr:{[ver=1,mode=0,seq=1570408][2nd=468][3rd=0][offset=1425408,size=360,type=2,seq=0][trans_seq=0, sec_part=0][6th=0]}}, storage_schema_addr:{ptr:null, addr:{[ver=1,mode=0,seq=1570408][2nd=468][3rd=0][offset=1425768,size=281,type=2,seq=0][trans_seq=0, sec_part=0][6th=0]}}, macro_info_addr:{ptr:0x7fa4f3805d39, addr:{[ver=1,mode=0,seq=1570245][2nd=6297][3rd=0][offset=1372698,size=200,type=4,seq=0][trans_seq=0, sec_part=0][6th=0]}}, mds_data:null, ddl_kvs:null, ddl_kv_count:0, is_external_tablet:false, table_store_cache:{last_major_snapshot_version:1790618919825861000, major_table_cnt:1, minor_table_cnt:0, recycle_version:1790618919825861000, last_major_column_count:9, last_major_macro_block_cnt:1, is_row_store:true, is_tablet_referenced_by_collect_mv:false, last_major_compressor_type:6, last_major_latest_row_store_type:1, last_major_store_type:1}, rowkey_read_info:0x7fa4f3804500, is_cs_replica_compat:false, memtables:[0x7fa6b91c4910, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null], memtable_count:1}, this={this:0x7fa63c782060, is_inited:true, wash_score:1790645139518455000, hold_ref_cnt:true, ref_cnt:1, version:4, length:0, tablet_addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=1120,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, allocator:0x7fa5e3fcfda0, tablet_meta:{version:1, ls_id:{id:1001}, tablet_id:{id:216186}, data_tablet_id:{id:216186}, ref_tablet_id:{id:0}, has_next_tablet:false, create_scn:{val:18446744073709551615, v:3}, start_scn:{val:1790618920290910004, v:0}, clog_checkpoint_scn:{val:1790645034110859001, v:0}, ddl_checkpoint_scn:{val:1, v:0}, snapshot_version:1790645034110859000, multi_version_start:1790618920290910003, compat_mode:0, ha_status:{restore_status:0, data_status:0, expected_status:0, reserved:0}, report_status:{merge_snapshot_version:1790618919825861000, cur_report_version:1790618919825861000, data_checksum:4075166546, row_count:50000, found_cg_checksum_error:false}, table_store_flag:{with_major_sstable:1, is_user_data_table:-1}, ddl_start_scn:{val:0, v:0}, ddl_snapshot_version:0, max_sync_storage_schema_version:0, max_serialized_medium_scn:0, ddl_execution_id:-1, ddl_data_format_version:0, ddl_commit_scn:{val:0, v:0}, mds_checkpoint_scn:{val:1790645033608866002, v:0}, transfer_info:{ls_id:{id:0}, transfer_start_scn:{val:0, v:0}, transfer_seq:0, has_transfer_table:false}, extra_medium_info:{info:257, compat:1, last_compaction_type:1, wait_check_flag:0, last_medium_scn:1790618919825861000}, last_persisted_committed_tablet_status:{tablet_status:{val:1, str:”NORMAL”}, transfer_scn:{val:18446744073709551615, v:3}, transfer_ls_id:{id:-1}, data_type:1, create_commit_scn:{val:1790605704976849000, v:0}, create_commit_version:1790605704976849000, delete_commit_scn:{val:18446744073709551615, v:3}, delete_commit_version:-1, start_transfer_commit_version:-1, start_split_commit_version:-1}, create_schema_version:1790605704364920, space_usage:{all_sstable_data_occupy_size:1093319, all_sstable_data_required_size:4194304, all_sstable_meta_size:0, ss_public_sstable_occupy_size:0, tablet_clustered_meta_size:2173, tablet_clustered_sstable_data_size:2097152, backup_bytes:0}, micro_index_clustered:false, ddl_replay_status:14, split_info:{split_info:0, split_src_tablet_id:{id:0}}, has_truncate_info:false}, table_store_addr:{ptr:0x7fa63c7827c0, addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=408,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}}, storage_schema_addr:{ptr:0x7fa63c7824d0, addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=408,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}}, macro_info_addr:{ptr:0x7fa63452cf60, addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=136,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}}, mds_data:null, ddl_kvs:null, ddl_kv_count:0, is_external_tablet:false, table_store_cache:{last_major_snapshot_version:1790618919825861000, major_table_cnt:1, minor_table_cnt:1, recycle_version:1790618919825861000, last_major_column_count:9, last_major_macro_block_cnt:1, is_row_store:true, is_tablet_referenced_by_collect_mv:false, last_major_compressor_type:6, last_major_latest_row_store_type:1, last_major_store_type:1}, rowkey_read_info:0x7fa63452cd40, is_cs_replica_compat:false, memtables:[null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null], memtable_count:0})
[2026-09-29 09:25:39.520654] INFO [STORAGE] sn_async_write (ob_storage_object_handle.cpp:301) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=222] Async write macro block(macro_id_={[ver=1,mode=0,seq=1572664][2nd=5680]})
[2026-09-29 09:25:39.520940] INFO [STORAGE] sn_async_write (ob_storage_object_handle.cpp:301) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=10] Async write macro block(macro_id_={[ver=1,mode=0,seq=1572664][2nd=5680]})
[2026-09-29 09:25:39.525878] INFO [STORAGE] transform (ob_tablet_persister.cpp:1252) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=15] TINY TABLET: tablet + rowkey_read_info + tablet store + auto_inc_seq(buf=0x7fa5c29ea0a0, start_pos=9746, remain=55702)
[2026-09-29 09:25:39.526068] INFO [STORAGE] reset (ob_tablet.cpp:243) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=21] reset tablet(this=0x7fa5e3fcdb30, ls_id={id:-1}, tablet_id={id:0}, lbt()=”0x34c641f2 0x1e631753 0x34b6263f 0x34b61fe1 0x1e6128ea 0x3547fdb8 0x35274dfe 0x35274787 0x35276b19 0x350612e0 0x35061198 0x35060bc9 0x3506024c 0x3559e015 0x350fd6e9 0x350fc926 0x7fa733a2cea5 0x7fa733755b0d”)
[2026-09-29 09:25:39.526102] INFO [STORAGE] sn_async_write (ob_storage_object_handle.cpp:301) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=16] Async write macro block(macro_id_={[ver=1,mode=0,seq=1572298][2nd=6279]})
[2026-09-29 09:25:39.527958] INFO [STORAGE] inc_ref_with_macro_iter (ob_tablet.cpp:3397) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=10] the tablet that inner increases ref cnt is(ret=0, hold_ref_cnt_=false, ls_id={id:1001}, tablet_id={id:216186}, table_store_addr_.addr_={[ver=1,mode=0,seq=1572664][2nd=5680][3rd=0][offset=1064960,size=491,type=2,seq=0][trans_seq=0, sec_part=0][6th=0]}, storage_schema_addr_.addr_={[ver=1,mode=0,seq=1572664][2nd=5680][3rd=0][offset=1065451,size=281,type=2,seq=0][trans_seq=0, sec_part=0][6th=0]}, tablet_addr_={[ver=1,mode=0,seq=1572298][2nd=6279][3rd=0][offset=2015232,size=770,type=4,seq=0][trans_seq=0, sec_part=0][6th=0]}, this=0x7fa5c29ea0a0, macro_iter={macro_info:{entry_block:{[ver=1,mode=0,seq=0][2nd=18446744073709551615]}, meta_block_info_arr:{cnt:0, arr:null, capacity:0}, data_block_info_arr:{cnt:2, arr:0x7fa63c7745d0, capacity:2}, shared_meta_block_info_arr:{cnt:1, arr:0x7fa63c774620, capacity:1}, shared_data_block_info_arr:{cnt:1, arr:0x7fa63c774650, capacity:1}, is_inited:true}, cur_type:4, target_type:6, is_linked:false}, lbt()=”0x34c641f2 0x1e67b27c 0x3521321b 0x35212c88 0x3547feb6 0x35274dfe 0x35274787 0x35276b19 0x350612e0 0x35061198 0x35060bc9 0x3506024c 0x3559e015 0x350fd6e9 0x350fc926 0x7fa733a2cea5 0x7fa733755b0d”)
[2026-09-29 09:25:39.535080] INFO [STORAGE] update_tablet_table_store (ob_ls_tablet_service.cpp:1116) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=62] succeeded to build new tablet(ret=0, key={ls_id:{id:1001}, tablet_id:{id:216186}}, disk_addr={[ver=1,mode=0,seq=1572298][2nd=6279][3rd=0][offset=2015232,size=770,type=4,seq=0][trans_seq=0, sec_part=0][6th=0]}, param={sstable:0x7fa358e9a3e0, snapshot_version:1790645034110859000, multi_version_start:1790618920290910003, storage_schema:{this:0x7fa358e9a060, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0, is_column_table_schema:0, enable_macro_block_bloom_filter:0, column_cnt:7, store_column_cnt:7, tablet_size:134217728, pctfree:0, block_size:16384, progressive_merge_round:1, master_key_id:18446744073709551615, compressor_type:6, encryption:””, encrypt_key:””, rowkey_cnt:1, rowkey_array:[{column_idx:16, meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, order:0}], column_cnt:7, column_array:[{meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:1, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}], skip_index_cnt:0, skip_idx_attr_array:[], column_group_cnt:1, column_group_array:[{version:1, type:1, compressor_type:6, row_store_type:1, block_size:16384, schema_column_cnt:7, rowkey_column_cnt:3, schema_rowkey_column_cnt:1, column_cnt:9, column_idxs:null}], has_all_column_group:true, merge_engine_type:0}, rebuild_seq:0, compaction_info:{clog_checkpoint_scn:{val:1790645034110859001, v:0}, need_report:false, merge_type:”MINI_MERGE”, major_ckm_info:{is_empty:true}, has_truncate_info:false}, ha_info:{transfer_seq:0, need_check_sstable:false, need_check_transfer_seq:true, need_replace_remote_sstable:false, is_only_replace_major:false}, ddl_info:{keep_old_ddl_sstable:true, update_with_major_flag:false, ddl_start_scn:{val:0, v:0}, ddl_commit_scn:{val:0, v:0}, ddl_checkpoint_scn:{val:0, v:0}, ddl_snapshot_version:0, ddl_execution_id:-1, data_format_version:0, ddl_redo_callback:null, ddl_finish_callback:null, ddl_replay_status:16, slice_sstables:[]}, allow_duplicate_sstable:false, upper_trans_param:{new_upper_trans:null, last_minor_end_scn:{val:0, v:0}}}, handle={obj:0x7fa5c29ea0a0, obj_pool:0x7fa6d2a35d70, allocator:null, wash_priority:0, allow_copy_and_assign:true})
[2026-09-29 09:25:39.535264] WDIAG [MDS] get_mds_data_from_tablet (ob_i_tablet_mds_interface.ipp:167) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=121][errcode=-4138] fail to read data from mds sstable(ret=-4138)
[2026-09-29 09:25:39.535304] INFO [STORAGE] dec_ref_with_aggregated_info (ob_tablet.cpp:3577) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=12] the tablet that decreases ref cnt is(is_inited_=true, tablet_meta_.ls_id_={id:1001}, tablet_meta_.tablet_id_={id:216186}, table_store_addr_.addr_={[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=408,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, storage_schema_addr_.addr_={[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=408,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, tablet_addr_={[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=1120,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, this=0x7fa63c782060, info_iter={macro_info:{entry_block:{[ver=1,mode=0,seq=0][2nd=18446744073709551615]}, meta_block_info_arr:{cnt:0, arr:null, capacity:0}, data_block_info_arr:{cnt:2, arr:0x7fa63452cff0, capacity:2}, shared_meta_block_info_arr:{cnt:1, arr:0x7fa63452d040, capacity:1}, shared_data_block_info_arr:{cnt:1, arr:0x7fa63452d070, capacity:1}, is_inited:true}, cur_type:4, target_type:6, is_linked:false}, lbt()=”0x34c641f2 0x1e67d372 0x351d8e63 0x351d8cb8 0x34b3eb9b 0x35276ac6 0x350612e0 0x35061198 0x35060bc9 0x3506024c 0x3559e015 0x350fd6e9 0x350fc926 0x7fa733a2cea5 0x7fa733755b0d”)
[2026-09-29 09:25:39.535342] INFO [STORAGE] reset (ob_tablet.cpp:243) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=31] reset tablet(this=0x7fa63c782060, ls_id={id:1001}, tablet_id={id:216186}, lbt()=”0x34c641f2 0x1e631753 0x34b6263f 0x34b61fe1 0x34b3eba4 0x35276ac6 0x350612e0 0x35061198 0x35060bc9 0x3506024c 0x3559e015 0x350fd6e9 0x350fc926 0x7fa733a2cea5 0x7fa733755b0d”)
[2026-09-29 09:25:39.535380] INFO [STORAGE] release_head_memtable_ (ob_tablet_memtable_mgr.cpp:818) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=9] succeed to release head data memtable(ret=0, occupy_size=20971520, memtable={ObITabletMemtable:{ObITable:{this:0x7fa6b91c4910, key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MEMTABLE”, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}, ref_cnt:2, upper_trans_version:9223372036854775807, timestamp:1790644944886249}, ls_id_:{id:1001}, allow_freeze_:true, is_flushed_:true, is_tablet_freeze_:false, logging_blocked_:false, resolved_active_memtable_left_boundary_:true, unset_active_memtable_logging_blocked_:false, has_backoffed_:false, offlined_:false, read_barrier_:true, freeze_clock_:46, freeze_state_:5, unsubmitted_cnt_:0, init_timestamp_:1790644944886249, max_schema_version_:0, write_ref_cnt_:0, max_end_scn_:{val:1790645034110859001, v:0}, rec_scn_:{val:1790644944706238002, v:0}, freeze_scn_:{val:1790645034110859001, v:0}, freezer_:0x7fa6bf52d490, memtable_mgr_handle_:{memtable_mgr:0x7fa6889ce800, pool:0x7fa6d03f2030}, mt_stat_.frozen_time_:1790645034404873, mt_stat_.ready_for_flush_time_:1790645034406734, mt_stat_.create_flush_dag_time_:1790645037896766, mt_stat_.release_time_:1790645139535363, mt_stat_.push_table_into_gc_queue_time_:0, mt_stat_.last_print_time_:0}, this:0x7fa6b91c4910, state:0, max_data_schema_version:1790605704364936, max_column_cnt:7, local_allocator:{ListHandle:{freeze_stat:2, id:1001, clock:1101004800}, host:0x7fa6d2b85330, arena_handle:{allocated:20971520}}, contain_hotspot_row:false, snapshot_version:{val:1790645034110859000, v:0}, contain_hotspot_row:false, ls_id:{id:1001}, transfer_freeze_flag:false, recommend_snapshot_version:{val:18446744073709551615, v:3}, is_delete_insert_table:false})
[2026-09-29 09:25:39.535431] INFO [STORAGE] release_memtables (ob_i_memtable_mgr.cpp:171) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=50] succeed to release memtable(ret=0, i=0, scn={val:1790645034110859001, v:0})
[2026-09-29 09:25:39.535444] INFO [STORAGE.COMPACTION] try_report_tablet_stat_after_mini (ob_tablet_merge_ctx.cpp:230) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=8] try report tablet stat(ret=0, ret=”OB_SUCCESS”, ls_id={id:1001}, tablet_id={id:216186}, tnode_stat={insert_row_count:50000, update_row_count:0, delete_row_count:0}, report_succ=true)
[2026-09-29 09:25:39.535462] INFO [STORAGE.COMPACTION] try_schedule_adaptive_merge (ob_tenant_tablet_scheduler.cpp:1793) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=12] [Buffer-Opt] Try to schedule tablet medium/meta after mini(ret=0, tmp_ret=0, ls_id={id:1001}, tablet_id={id:216186}, is_tombstone_scene=false, mode=”NORMAL”, medium_is_cooling_down=false, event=2, update_row_cnt=0, delete_row_cnt=0, create_dag=false)
[2026-09-29 09:25:39.535579] INFO [STORAGE.COMPACTION] process (ob_tablet_merge_task.cpp:1064) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=14] sstable merge finish(ret=0, merge_info={is_inited:true, merge_history:{static_info:{ls_id:{id:1001}, tablet_id:{id:216186}, merge_type:”MINI_MERGE”, compaction_scn:1790645034110859001, is_full_merge:false, concurrent_cnt:1, merge_level:”MACRO_BLOCK_LEVEL”, exec_mode:”EXEC_MODE_LOCAL”, merge_reason:”NONE”, base_major_status:”invalid_co_major_status”, co_major_merge_type:”INVALID_CO_MAJOR_MERGE_TYPE”, kept_snapshot_info:{type:”SNAPSHOT_ON_TABLET”, snapshot:1790618920290910003}, participant_table_info:{is_major_merge:false, table_cnt:1, snapshot_version:0, start_scn:1790618920290910004, end_scn:1790645034110859001}, mds_filter_info_str:””, progressive_merge_round:0, progressive_merge_num:0, is_fake:false}, running_info:{merge_start_time:1790645138657559, merge_finish_time:1790645139535553, execute_time:854580, dag_id:YB42C0A8055F-00065B689F24B34C-0-0, start_cg_idx:0, end_cg_idx:0, io_percentage:0, parallel_merge_info:{{type:”scan_units”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”cost_time”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”use_old_macro_block_cnt”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”incremental_row_count”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, }}, block_info:{occupy_size:2061693, original_size:3731218, macro_block_count:1, multiplexed_macro_block_count:0, new_micro_count_in_new_macro:127, multiplexed_micro_count_in_new_macro:0, total_row_count:50000, incremental_row_count:50000, new_micro_info:{meta_micro_size:0, data_micro_size:2053316}, block_io_us:2810}, diagnose_info:{dag_ret:0, retry_cnt:0, suspect_add_time:0, early_create_time:0, error_location:(null):-1((null))}}, sstable_builder:{data_store_desc:{desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MINI_MERGE”, snapshot_version:1790645034110859000, end_scn:{val:1790645034110859001, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:2, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:0, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:0, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”flat_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:false, enable_raw:false, enable_dict:false, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:false}, sstable_index_builder:0x7fa5e641a090, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}}, index_builder:{roots_.count():1}, index_read_info:0x7fa4f3804500, rebuilder_ptr:{macro_writer:{block_write_ctx:{macro_block_list_.count():0, use_old_macro_block_count:0}}}}}, sstable={ObITable:{this:0x7fa358e9a3e0, key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MINI”, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}, ref_cnt:1, upper_trans_version:1790644956654203000, timestamp:0}, this:0x7fa358e9a3e0, addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=208,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, meta_cache:{version:1, has_multi_version_row:1, status:2, data_macro_block_count:1, nested_size:2097152, nested_offset:0, total_macro_block_count:1, total_use_old_macro_block_count:0, row_count:50000, occupy_size:2061693, data_checksum:833084180, max_merged_trans_version:1790644956654203000, upper_trans_version:1790644956654203000, filled_tx_scn:{val:1790645034110859001, v:0}, contain_uncommitted_row:false}, meta:{basic_meta:{version:1, length:122, row_count_:50000, occupy_size_:2061693, original_size_:3731218, data_checksum_:833084180, index_type_:0, rowkey_column_count_:3, column_cnt_:9, data_macro_block_count_:1, data_micro_block_count_:127, use_old_macro_block_count_:0, index_macro_block_count_:0, sstable_format_version_:1, schema_version_:1790605704364936, create_snapshot_version_:0, progressive_merge_round_:0, progressive_merge_step_:0, data_index_tree_height_:2, table_mode_:{table_mode_flag:0, pk_mode:2, table_state_flag:0, view_created_method_flag:0, pk_exists:1, auto_increment_mode:0, rowid_mode:0, view_column_filled_flag:0, mv_container_table_flag:0, mv_available_flag:0, table_referenced_by_mv_flag:0, mv_enable_query_rewrite_flag:0, mv_on_query_computation_flag:0, ddl_table_ignore_sync_cdc_flag:0, table_organization_mode:0}, upper_trans_version_:1790644956654203000, max_merged_trans_version_:1790644956654203000, recycle_version:0, ddl_scn_:{val:0, v:0}, filled_tx_scn_:{val:1790645034110859001, v:0}, contain_uncommitted_row_:false, status_:4, root_row_store_type:0, compressor_type:2, encrypt_id:0, master_key_id:0, sstable_logic_seq:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, latest_row_store_type:1, table_backup_flag:{has_backup_flag:0, has_local_flag:0}, table_shared_flag:{shared_flag:0, reserved:0}, root_macro_seq:8796093022208, co_base_snapshot_version:0}, column_ckm_struct:{count:0}, data_root_info:{addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=294,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, orig_block_buf:0x7fa358e9a760, block_data:{buf:0x7fa358e9a9d0, size:64, extra_buf:0x7fa358e9aa10, extra_size:887, type:1}}, macro_info:{macro_meta_info:{addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=268,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, orig_block_buf:0x7fa358e9a890, block_data:{buf:0x7fa358e9a890, size:268, extra_buf:null, extra_size:0, type:1}}, data_block_count:1, other_block_count:0, linked_block_count:0, data_block_ids:0x7fa358e9a9a0, other_block_ids:null, linked_block_ids:null, entry_id:{[ver=1,mode=0,seq=0][2nd=18446744073709551615]}, is_meta_root:true, nested_offset:0, nested_size:2097152}, cg_sstables:{cnt:0, sstable_array:null, serialize_table_type:false, is_inited:false}, tx_ctx:{count:0, ObArrayWrap(tx_descs_, count_):null}, is_inited:true}, valid_for_reading:true, is_tmp_sstable:true}, mem_peak=2871099, compat_mode=0, time_guard=add_time:1790645037896800|wait_schedule_time=100.75s)
[2026-09-29 09:25:39.535785] INFO [COMMON] do_work (ob_tenant_dag_scheduler.cpp:348) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=200] task finish process(ret=0, start_time=1790645139517083, end_time=1790645139535784, runtime=18701, *this={this:0x7fa5058964f0, type:16, status:2, dag:{ObIDag:{this:0x7fa4d92ba5f0, is_inited:true, type:0, name:”MINI_MERGE”, id:YB42C0A8055F-00065B689F24B34C-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790645037896800, start_time:1790645138649094, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-4365010218525973882, task_list_.get_size():1, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}}})
[2026-09-29 09:25:39.535871] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=34] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”6635”, tenant_id=1002, group_id=0)
[2026-09-29 09:25:39.535893] INFO [COMMON] finish_dag_ (ob_tenant_dag_scheduler.cpp:2632) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=10] dag finished(dag_ret=0, runtime=886798, dag_cnt=0, dag_type_cnt=0, dag=0x7fa4d92ba5f0, dag={ObIDag:, param:{skip_get_tablet:false, merge_type:”MINI_MERGE”, merge_version:0, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:-1}, compat_mode:0, min_sstable_end_scn:-1, ctx:{sstable_version_range:{multi_version_start:1790618920290910003, base_version:0, snapshot_version:1790645034110859000}, scn_range:{start_scn:{val:1790618920290910004, v:0}, end_scn:{val:1790645034110859001, v:0}}}})
[2026-09-29 09:25:39.535925] INFO [SERVER] del_task (ob_sys_task_stat.cpp:193) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=30] succeed to del sys task(removed_task={start_time:1790645138649045, task_id:YB42C0A8055F-00065B689F24B34C-0-0, task_type:3, svr_ip:”192.168.5.95:2882”, tenant_id:1002, is_cancel:false, comment:”MINI_MERGE;ls_id=1001;tablet_id=216186;compaction_scn=0;exec_mode=”EXEC_MODE_LOCAL”,concurrent_cnt=0”})
[2026-09-29 09:25:39.536013] WDIAG [STORAGE] ~ObCompactionTimeGuard (ob_compaction_time_guard.cpp:28) [6635][T1002_MINI_MERG][T1002][YB42C0A8055F-00065B689F24B34C-0-0] [lt=12][errcode=0] REACH SYSLOG RATE LIMIT [bandwidth]
[root@localhost tmp]
#任务类型序列 15 → 1 → 16
GV$OB_TABLET_COMPACTION_HISTORY
新增 MINI_MERGE 行
memstore_used
/
active_span
回落业务写入 │ memstore(active) 增长,超过 freeze_trigger ▼ ObFreezer 发起 minor freeze:active memtable → frozen memtable │ [Freezer] / tablet_freeze success ▼ ObMemtable::flush 建 MINI_MERGE DAG(D0/D1a)—— 同 tablet 已有在途 DAG 则返回 -4023 │ schedule tablet merge dag successfully ▼ ObTabletMergeDag:PrepareTask → MergeTask × N(并行分片) → FinishTask │ succeed to build merge ctx → merge macro blocks ok → sstable merge finish ▼ frozen memtable 释放、compaction_scn 推进、SSTable 落入增量层
查看系统表观察合并的状态,分析日志查看一次完整的合并有哪些步骤。
SELECT * FROM CDB_OB_MAJOR_COMPACTION WHERE TENANT_ID =1002; +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+--------+----------+--------------+------+ | TENANT_ID | FROZEN_SCN | FROZEN_TIME | GLOBAL_BROADCAST_SCN | LAST_SCN | LAST_FINISH_TIME | START_TIME | STATUS | IS_ERROR | IS_SUSPENDED | INFO | +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+--------+----------+--------------+------+ | 1002 | 1790618919825861000 | 2026-09-29 02:08:39.825861 | 1790618919825861000 | 1790618919825861000 | 2026-09-29 02:15:42.165401 | 2026-09-29 02:08:41.206457 | IDLE | NO | NO | | +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+--------+----------+--------------+------+ 1 row in set (0.097 sec) SELECT * FROM oceanbase.CDB_OB_ZONE_MAJOR_COMPACTION WHERE TENANT_ID =1002; +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+--------+ | TENANT_ID | ZONE | BROADCAST_SCN | LAST_SCN | LAST_FINISH_TIME | START_TIME | STATUS | +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+--------+ | 1002 | zone1 | 1790618919825861000 | 1790618919825861000 | 2026-09-29 02:15:42.220622 | 2026-09-29 02:08:41.358861 | IDLE | | 1002 | zone_1 | 1790618919825861000 | 1790618919825861000 | 2026-09-29 02:15:42.271337 | 2026-09-29 02:08:41.373056 | IDLE | +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+--------+ 2 rows in set (0.163 sec)
1. 执行命令,合并
ALTER SYSTEM MAJOR FREEZE TENANT = test; Query OK, 0 rows affected (0.405 sec)
2. 查看视图
SELECT * FROM oceanbase.CDB_OB_ZONE_MAJOR_COMPACTION WHERE TENANT_ID =1002; +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+------------+ | TENANT_ID | ZONE | BROADCAST_SCN | LAST_SCN | LAST_FINISH_TIME | START_TIME | STATUS | +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+------------+ | 1002 | zone1 | 1790665358083276000 | 1790618919825861000 | 2026-09-29 02:15:42.220622 | 2026-09-29 15:02:38.904383 | COMPACTING | | 1002 | zone_1 | 1790665358083276000 | 1790618919825861000 | 2026-09-29 02:15:42.271337 | 2026-09-29 15:02:38.927660 | COMPACTING | +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+------------+ SELECT * FROM CDB_OB_MAJOR_COMPACTION WHERE TENANT_ID =1002; +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+------------+----------+--------------+------+ | TENANT_ID | FROZEN_SCN | FROZEN_TIME | GLOBAL_BROADCAST_SCN | LAST_SCN | LAST_FINISH_TIME | START_TIME | STATUS | IS_ERROR | IS_SUSPENDED | INFO | +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+------------+----------+--------------+------+ | 1002 | 1790665358083276000 | 2026-09-29 15:02:38.083276 | 1790665358083276000 | 1790618919825861000 | 2026-09-29 02:15:42.165401 | 2026-09-29 15:02:38.551959 | COMPACTING | NO | NO | | +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+------------+----------+--------------+------+ select * from CDB_OB_FREEZE_INFO where tenant_id =1002 order by gmt_create desc limit 2; +-----------+---------------------+-----------------+------------------+----------------------------+----------------------------+ | TENANT_ID | FROZEN_SCN | CLUSTER_VERSION | SCHEMA_VERSION | GMT_CREATE | GMT_MODIFIED | +-----------+---------------------+-----------------+------------------+----------------------------+----------------------------+ | 1002 | 1790665358083276000 | 17180067075 | 1790611204559120 | 2026-09-29 15:02:38.135399 | 2026-09-29 15:02:38.135399 | | 1002 | 1790618919825861000 | 17180067075 | 1790611204559120 | 2026-09-29 02:08:39.839874 | 2026-09-29 02:08:39.839874 | +-----------+---------------------+-----------------+------------------+----------------------------+----------------------------+ ===========================================================合并结束后查询结果============================================================= SELECT * FROM oceanbase.CDB_OB_ZONE_MAJOR_COMPACTION WHERE TENANT_ID =1002; +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+--------+ | TENANT_ID | ZONE | BROADCAST_SCN | LAST_SCN | LAST_FINISH_TIME | START_TIME | STATUS | +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+--------+ | 1002 | zone1 | 1790665358083276000 | 1790665358083276000 | 2026-09-29 15:09:27.271366 | 2026-09-29 15:02:38.904383 | IDLE | | 1002 | zone_1 | 1790665358083276000 | 1790665358083276000 | 2026-09-29 15:09:27.331350 | 2026-09-29 15:02:38.927660 | IDLE | +-----------+--------+---------------------+---------------------+----------------------------+----------------------------+--------+ SELECT * FROM CDB_OB_MAJOR_COMPACTION WHERE TENANT_ID =1002; +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+--------+----------+--------------+------+ | TENANT_ID | FROZEN_SCN | FROZEN_TIME | GLOBAL_BROADCAST_SCN | LAST_SCN | LAST_FINISH_TIME | START_TIME | STATUS | IS_ERROR | IS_SUSPENDED | INFO | +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+--------+----------+--------------+------+ | 1002 | 1790665358083276000 | 2026-09-29 15:02:38.083276 | 1790665358083276000 | 1790665358083276000 | 2026-09-29 15:09:27.169793 | 2026-09-29 15:02:38.551959 | IDLE | NO | NO | | +-----------+---------------------+----------------------------+----------------------+---------------------+----------------------------+----------------------------+--------+----------+--------------+------+
SELECT * FROM oceanbase.GV$OB_COMPACTION_PROGRESS WHERE TENANT_ID =1002 ORDER BY START_TIME DESC LIMIT 2;
+--------------+----------+-----------+-------------+--------+---------------------+--------------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| SVR_IP | SVR_PORT | TENANT_ID | TYPE | ZONE | COMPACTION_SCN | STATUS | TOTAL_TABLET_COUNT | UNFINISHED_TABLET_COUNT | DATA_SIZE | UNFINISHED_DATA_SIZE | COMPRESSION_RATIO | START_TIME | ESTIMATED_FINISH_TIME | COMMENTS |
+--------------+----------+-----------+-------------+--------+---------------------+--------------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 192.168.5.97 | 2882 | 1002 | MAJOR_MERGE | zone_1 | 1790665358083276000 | NODE_RUNNING | 2930 | 2047 | 3440286347 | 3172990976 | 1 | 2026-09-29 15:02:39.202330 | 2026-09-29 15:55:55.685879 | SCHEDULER_LOOP:schedule_stats={all_ls_weak_read_ts_ready:true, start_timestamp:1790665359221738},schedule_tablet_cnt={schedule_dag_cnt:0, submit_clog_cnt:1041, finish_cnt:0, loop_tablet_cnt:2930, force_freeze_cnt:871, wait_rs_validate_cnt:0},is_inited:1,real_finish_cnt:883 |
| 192.168.5.95 | 2882 | 1002 | MAJOR_MERGE | zone1 | 1790665358083276000 | NODE_RUNNING | 2930 | 1889 | 4538236928 | 3172990976 | 1 | 2026-09-29 15:02:38.869733 | 2026-09-29 15:28:28.402890 | RS_FINISH_CUR_LOOP:cost_us=436157,progress={this:0x7fa603d8a098, merge_finish:false, unmerged_tablet_cnt:0, merged_tablet_cnt:0, total_table_cnt:1029, INITIAL:1028, COMPACTED:0, CAN_SKIP_VERIFYING:0, INDEX_CKM_VERIFIED:0, VERIFIED:0},remain_table_id_count=1028,remain_table_ids=[3, 100001, 100002],remain_tablet_ids=[1, 3, 4],total_time_guard=PREPARE_UNFINISH_TABLE_IDS=1.48ms|,validator_statistics={query_ckm_sql_cnt:0, use_cached_ckm_cnt:0, write_ckm_sql_cnt:0, update_report_scn_sql_cnt:0, checker_validate_idx_cnt:0},is_inited:1,real_finish_cnt:1041 |
+--------------+----------+-----------+-------------+--------+---------------------+--------------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
+--------------+----------+-----------+-------------+--------+---------------------+--------------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| SVR_IP | SVR_PORT | TENANT_ID | TYPE | ZONE | COMPACTION_SCN | STATUS | TOTAL_TABLET_COUNT | UNFINISHED_TABLET_COUNT | DATA_SIZE | UNFINISHED_DATA_SIZE | COMPRESSION_RATIO | START_TIME | ESTIMATED_FINISH_TIME | COMMENTS |
+--------------+----------+-----------+-------------+--------+---------------------+--------------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 192.168.5.97 | 2882 | 1002 | MAJOR_MERGE | zone_1 | 1790665358083276000 | NODE_RUNNING | 2930 | 0 | 6323167623 | 3172990976 | 0.83 | 2026-09-29 15:02:39.202330 | 2026-09-29 15:55:55.685879 | COMPACTION_FINISH_CHECK:cost_ts=30110733,batch_check_stat={succ_cnt:456, finish_cnt:451, fail_cnt:0, filter_cnt:0},is_inited:1,real_finish_cnt:2930 |
| 192.168.5.95 | 2882 | 1002 | MAJOR_MERGE | zone1 | 1790665358083276000 | NODE_RUNNING | 2930 | 448 | 5789299024 | 3172990976 | 0.84 | 2026-09-29 15:02:38.869733 | 2026-09-29 15:28:28.402890 | RS_FINISH_CUR_LOOP:cost_us=3938560,progress={this:0x7fa603d8a098, merge_finish:false, unmerged_tablet_cnt:0, merged_tablet_cnt:1914, total_table_cnt:1029, INITIAL:317, COMPACTED:104, CAN_SKIP_VERIFYING:0, INDEX_CKM_VERIFIED:0, VERIFIED:607},remain_table_id_count=421,remain_table_ids=[3, 100001, 100003],remain_tablet_ids=[1, 4, 104],total_time_guard=PREPARE_UNFINISH_TABLE_IDS=1.48ms|,validator_statistics={query_ckm_sql_cnt:799, use_cached_ckm_cnt:64, write_ckm_sql_cnt:4, update_report_scn_sql_cnt:4, checker_validate_idx_cnt:3},is_inited:1,real_finish_cnt:2482 |
+--------------+----------+-----------+-------------+--------+---------------------+--------------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
SELECT * FROM oceanbase.GV$OB_COMPACTION_PROGRESS WHERE TENANT_ID =1002 ORDER BY START_TIME DESC LIMIT 2;
+--------------+----------+-----------+-------------+--------+---------------------+--------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+------------------------------------------------------------+
| SVR_IP | SVR_PORT | TENANT_ID | TYPE | ZONE | COMPACTION_SCN | STATUS | TOTAL_TABLET_COUNT | UNFINISHED_TABLET_COUNT | DATA_SIZE | UNFINISHED_DATA_SIZE | COMPRESSION_RATIO | START_TIME | ESTIMATED_FINISH_TIME | COMMENTS |
+--------------+----------+-----------+-------------+--------+---------------------+--------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+------------------------------------------------------------+
| 192.168.5.97 | 2882 | 1002 | MAJOR_MERGE | zone_1 | 1790665358083276000 | FINISH | 2930 | 0 | 6323167623 | 0 | 0.83 | 2026-09-29 15:02:39.202330 | 2026-09-29 15:08:49.401716 | add_time:1790665359202330|is_inited:1,real_finish_cnt:2930 |
| 192.168.5.95 | 2882 | 1002 | MAJOR_MERGE | zone1 | 1790665358083276000 | FINISH | 2930 | 0 | 6323240889 | 0 | 0.83 | 2026-09-29 15:02:38.869733 | 2026-09-29 15:11:28.480942 | add_time:1790665358869732|is_inited:1,real_finish_cnt:2930 |
+--------------+----------+-----------+-------------+--------+---------------------+--------+--------------------+-------------------------+------------+----------------------+-------------------+----------------------------+----------------------------+------------------------------------------------------------+3. 查看rs历史
select * from (select * from __all_rootservice_event_history order by gmt_create desc limit 8) order by gmt_create ;
+----------------------------+--------------+-------------------+-----------+--------+----------------------+-------------------------------------------------------------------------------+----------------------+---------------------+----------------+--------------+-------+--------+-------+--------+------------+--------------+-------------+
| gmt_create | module | event | name1 | value1 | name2 | value2 | name3 | value3 | name4 | value4 | name5 | value5 | name6 | value6 | extra_info | rs_svr_ip | rs_svr_port |
+----------------------------+--------------+-------------------+-----------+--------+----------------------+-------------------------------------------------------------------------------+----------------------+---------------------+----------------+--------------+-------+--------+-------+--------+------------+--------------+-------------+
| 2026-09-29 15:02:38.180426 | major_merge | root_major_freeze | tenant_id | 1002 | ret | 0 | new_frozen_scn | 1790665358083276000 | freeze_reason | USER_REQUEST | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:02:38.324332 | root_service | root_minor_freeze | ret | 0 | arg | {tenant_ids:[1002], server_list:[], zone:””, tablet_id:{id:0}, ls_id:{id:-1}} | | | | | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:02:38.587279 | daily_merge | merging | tenant_id | 1002 | global_broadcast_scn | 1790665358083276000 | zone | global_zone | expected_epoch | 222 | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:02:38.880757 | daily_merge | set_zone_merging | tenant_id | 1002 | zone | zone1 | | | | | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:02:38.904291 | daily_merge | set_zone_merging | tenant_id | 1002 | zone | zone_1 | | | | | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:02:38.927558 | daily_merge | start_merge | tenant_id | 1002 | zone | zone1 | global_broadcast_scn | 1790665358083276000 | | | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:02:38.944617 | daily_merge | start_merge | tenant_id | 1002 | zone | zone_1 | global_broadcast_scn | 1790665358083276000 | | | | | | | | 192.168.5.95 | 2882 |
| 2026-09-29 15:09:27.381711 | daily_merge | global_merged | tenant_id | 1002 | global_broadcast_scn | 1790665358083276000 | | | | | | | | | | 192.168.5.95 | 2882 |
+----------------------------+--------------+-------------------+-----------+--------+----------------------+-------------------------------------------------------------------------------+----------------------+---------------------+----------------+--------------+-------+--------+-------+--------+------------+--------------+-------------+
8 rows in set (0.016 sec)1. 查看RS上关于合并的日志
grep 'YB42C0A8055F-00065B9CF328F4C0-0-0' rootservice.log
[2026-09-29 15:02:37.911861] INFO [RS] launch_major_freeze (ob_tenant_major_freeze.cpp:219) [5809][T1002_L0_G0][T1002][YB42C0A8055F-00065B9CF328F4C0-0-0] [lt=22] launch_major_freeze(tenant_id=1002)
[2026-09-29 15:02:37.911899] INFO [RS.COMPACTION] try_reload (ob_zone_merge_manager.cpp:134) [5809][T1002_L0_G0][T1002][YB42C0A8055F-00065B9CF328F4C0-0-0] [lt=19] zone_merge_mgr is already loaded(tenant_id=1002, global_merge_info={tenant_id:1002, cluster:{name:”cluster”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, frozen_scn:{name:”frozen_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, global_broadcast_scn:{name:”global_broadcast_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, last_merged_scn:{name:”last_merged_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, is_merge_error:{name:”is_merge_error”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, merge_status:{name:”merge_status”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, error_type:{name:”error_type”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, suspend_merging:{name:”suspend_merging”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, merge_start_time:{name:”merge_start_time”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:1790618921206457, need_update:false}, last_merged_time:{name:”last_merged_time”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:1790619342165401, need_update:false}}, zone_merge_infos=[{tenant_id:1002, zone:”zone1”, is_merging:{name:”is_merging”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, broadcast_scn:{name:”broadcast_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, last_merged_scn:{name:”last_merged_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, last_merged_time:{name:”last_merged_time”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:1790619342220622, need_update:false}, all_merged_scn:{name:”all_merged_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, merge_start_time:{name:”merge_start_time”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:1790618921358861, need_update:false}, merge_status:{name:”merge_status”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, frozen_scn:{name:”frozen_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, start_merge_fail_times:0}, {tenant_id:1002, zone:”zone_1”, is_merging:{name:”is_merging”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, broadcast_scn:{name:”broadcast_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, last_merged_scn:{name:”last_merged_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, last_merged_time:{name:”last_merged_time”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:1790619342271337, need_update:false}, all_merged_scn:{name:”all_merged_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, merge_start_time:{name:”merge_start_time”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:1790618921373056, need_update:false}, merge_status:{name:”merge_status”, is_scn:false, scn:{val:18446744073709551615, v:3}, value:0, need_update:false}, frozen_scn:{name:”frozen_scn”, is_scn:true, scn:{val:1790618919825861000, v:0}, value:-1, need_update:false}, start_merge_fail_times:0}])
[2026-09-29 15:02:38.180396] INFO [RS] set_freeze_info (ob_major_merge_info_manager.cpp:159) [5809][T1002_L0_G0][T1002][YB42C0A8055F-00065B9CF328F4C0-0-0] [lt=21] finish set freeze info(ret=0, ret=”OB_SUCCESS”, freeze_info={frozen_version:{val:1790665358083276000, v:0}, schema_version:1790611204559120, data_version:17180067075}, tenant_id=1002)
[2026-09-29 15:02:38.180489] INFO [RS] process (ob_major_freeze_rpc_define.cpp:78) [5809][T1002_L0_G0][T1002][YB42C0A8055F-00065B9CF328F4C0-0-0] [lt=11] launch_major_freeze succ(req={info:{tenant_id:1002}, freeze_reason:”USER_REQUEST”}, is_primary_service=true)
[2026-09-29 15:02:38.193323] INFO [RS.COMPACTION] do_one_tenant_major_freeze (ob_major_freeze_helper.cpp:416) [1779][T1_L0_G0][T1][YB42C0A8055F-00065B9CF328F4C0-0-0] [lt=13] do tenant major freeze(ret=0, ret=”OB_SUCCESS”, tenant_id=1002, leader=”192.168.5.95:2882”, freeze_info={tenant_id:1002}, launch_cost_time=311349)2. 通过如下查询获取合并的日志TRACE_ID
SELECT * FROM oceanbase.GV$OB_TABLET_COMPACTION_HISTORY WHERE TENANT_ID =1002 AND TABLET_ID =216186 AND TYPE= 'MAJOR_MERGE' ORDER BY START_TIME DESC LIMIT 5;
+--------------+----------+-----------+-------+-----------+-------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+--------------------------------------------------------------------------------------------------------------------------+---------------+-----------------------+-------------+-----------+-------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
| SVR_IP | SVR_PORT | TENANT_ID | LS_ID | TABLET_ID | TYPE | COMPACTION_SCN | START_TIME | FINISH_TIME | TASK_ID | OCCUPY_SIZE | MACRO_BLOCK_COUNT | MULTIPLEXED_MACRO_BLOCK_COUNT | NEW_MICRO_COUNT_IN_NEW_MACRO | MULTIPLEXED_MICRO_COUNT_IN_NEW_MACRO | TOTAL_ROW_COUNT | INCREMENTAL_ROW_COUNT | COMPRESSION_RATIO | NEW_FLUSH_DATA_RATE | PROGRESSIVE_COMPACTION_ROUND | PROGRESSIVE_COMPACTION_NUM | PARALLEL_DEGREE | PARALLEL_INFO | PARTICIPANT_TABLE | MACRO_ID_LIST | COMMENTS | START_CG_ID | END_CG_ID | KEPT_SNAPSHOT | MERGE_LEVEL | EXEC_MODE | IS_FULL_MERGE | IO_COST_TIME_PERCENTAGE | MERGE_REASON | BASE_MAJOR_STATUS | CO_MERGE_TYPE | MDS_FILTER_INFO | EXECUTE_TIME |
+--------------+----------+-----------+-------+-----------+-------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+--------------------------------------------------------------------------------------------------------------------------+---------------+-----------------------+-------------+-----------+-------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
| 192.168.5.97 | 2882 | 1002 | 1001 | 216186 | MAJOR_MERGE | 1790665358083276000 | 2026-09-29 15:07:31.047226 | 2026-09-29 15:07:32.346015 | YB42C0A80561-00065B689A143080-0-0 | 2591628 | 2 | 0 | 158 | 0 | 100000 | 100000 | 0.83 | 2107 | 1 | 0 | 1 | - | table_cnt=2,[MAJOR]snapshot_versinotallow=1790644956654203000;[MINI]start_scn=1790645033608866003,end_scn=1790663071265885001; | 2416,5800 | comment=”cost_mb=4;”; | 0 | 0 | {type:”UNDO_RETENTION”, snapshot:1790663844391894000} | MICRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 0 | TENANT_MAJOR | | | | 1189392 |
| 192.168.5.95 | 2882 | 1002 | 1001 | 216186 | MAJOR_MERGE | 1790665358083276000 | 2026-09-29 15:06:57.824964 | 2026-09-29 15:07:00.498639 | YB42C0A8055F-00065B689F24B962-0-0 | 2591628 | 2 | 0 | 158 | 0 | 100000 | 100000 | 0.83 | 1139 | 1 | 0 | 1 | - | table_cnt=2,[MAJOR]snapshot_versinotallow=1790644956654203000;[MINI]start_scn=1790645034110859001,end_scn=1790663071265885001; | 473,7241 | comment=”cost_mb=4;”; | 0 | 0 | {type:”UNDO_RETENTION”, snapshot:1790663814020856000} | MICRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 0 | TENANT_MAJOR | | | | 2200845 |
| 192.168.5.95 | 2882 | 1002 | 1001 | 216186 | MAJOR_MERGE | 1790618919825861000 | 2026-09-29 02:13:05.420694 | 2026-09-29 02:13:08.762803 | YB42C0A8055F-00065B689F2494D2-0-0 | 1091154 | 1 | 0 | 46 | 0 | 50000 | 50000 | 0.76 | 348 | 1 | 0 | 1 | - | table_cnt=4,[MAJOR]snapshot_versinotallow=1790532000538312001;[MINI]start_scn=1,end_scn=1790618920290910004; | 285 | comment=”cost_mb=2;”; | 0 | 0 | {type:”UNDO_RETENTION”, snapshot:1790617375894097000} | MACRO_BLOCK_LEVEL | EXEC_MODE_LOCAL | FALSE | 0 | TENANT_MAJOR | | | | 3031363 |
+--------------+----------+-----------+-------+-----------+-------------+---------------------+----------------------------+----------------------------+-----------------------------------+-------------+-------------------+-------------------------------+------------------------------+--------------------------------------+-----------------+-----------------------+-------------------+---------------------+------------------------------+----------------------------+-----------------+---------------+--------------------------------------------------------------------------------------------------------------------------+---------------+-----------------------+-------------+-----------+-------------------------------------------------------+-------------------+-----------------+---------------+-------------------------+--------------+-------------------+---------------+-----------------+--------------+
3 rows in set (2.667 sec)grep 'YB42C0A80561-00065B689A143080-0-0' *
observer.log.20260929150837624:[2026-09-29 15:07:31.044933] INFO [SERVER] add_task (ob_sys_task_stat.cpp:164) [26622][T1002_DagSchedu][T1002][Y0-0000000000000000-0-0] [lt=27] succeed to add sys task(task={start_time:1790665651044920, task_id:YB42C0A80561-00065B689A143080-0-0, task_type:6, svr_ip:”192.168.5.97:2882”, tenant_id:1002, is_cancel:false, comment:”MAJOR_MERGE/MEDIUM_MERGE;ls_id=1001;tablet_id=216186;compaction_scn=1790665358083276000;exec_mode=”EXEC_MODE_LOCAL”,concurrent_cnt=0”})
DAG 登记为系统任务。
task_type 由 OB_DAG_TYPES[dag.get_type()].sys_task_type_ 决定(ob_tenant_dag_scheduler.cpp:2218),
major/medium 合并=SSTABLE_MAJOR_MERGE_TASK(6)。
失败分支 WARN failed to add sys task
observer.log.20260929150837624:[2026-09-29 15:07:31.044961] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [26622][T1002_DagSchedu][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=23] schedule one task(task={this:0x7f440776e170, type:15, status:2, dag:{ObIDag:{this:0x7f440776dbb0, is_inited:true, type:2, name:”MAJOR_MERGE/MEDIUM_MERGE”, id:YB42C0A80561-00065B689A143080-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790665651044425, start_time:1790665651044957, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-5341747690154589404, task_list_.get_size():1, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, compat_mode:0, min_sstable_end_scn:-1, ctx:null}}, priority=”PRIO_COMPACTION_LOW”, total_running_task_cnt=7, running_task_cnts_=7, limits_=16, adaptive_task_limit=16, task->get_dag()->get_dag_net()=NULL)
调度器把一个 task 派发给工作线程开始跑TASK_TYPE_SSTABLE_MERGE_PREPARE=15 (ob_tenant_dag_scheduler.h:153+,ctor ob_tablet_merge_task.cpp:748-749)
observer.log.20260929150837624:[2026-09-29 15:07:31.046761] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=14] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”14248”, tenant_id=1002, group_id=0)
observer.log.20260929150837624:[2026-09-29 15:07:31.046986] INFO [STORAGE.COMPACTION] prepare_from_medium_compaction_info (ob_basic_tablet_merge_ctx.cpp:1294) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=18] get storage schema to merge(param={skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, medium_info={compaction_type:”MAJOR_COMPACTION”, merge_reason:”TENANT_MAJOR”, medium_snapshot:1790665358083276000, last_medium_snapshot:1790644956654203000, tenant_id:1002, cluster_id:1784623978, medium_compat_version:5, data_version:17180067075, is_schema_changed:0, storage_schema:{this:0x7f43f0d180a0, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0, is_column_table_schema:0, enable_macro_block_bloom_filter:0, column_cnt:7, store_column_cnt:7, tablet_size:134217728, pctfree:0, block_size:16384, progressive_merge_round:1, master_key_id:18446744073709551615, compressor_type:6, encryption:””, encrypt_key:””, rowkey_cnt:1, rowkey_array:[{column_idx:16, meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, order:0}], column_cnt:7, column_array:[{meta_type:{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:1, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”INT”, collation:”binary”, coercibility:”NUMERIC”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}, {meta_type:{type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”}, is_column_stored_in_sstable:1, is_rowkey_column:0, is_generated_column:0, orig_default_value:{”NULL”:”NULL”}}], skip_index_cnt:0, skip_idx_attr_array:[], column_group_cnt:1, column_group_array:[{version:1, type:1, compressor_type:6, row_store_type:1, block_size:16384, schema_column_cnt:7, rowkey_column_cnt:3, schema_rowkey_column_cnt:1, column_cnt:9, column_idxs:null}], has_all_column_group:true, merge_engine_type:0}, co_major_merge_type:”INVALID_CO_MAJOR_MERGE_TYPE”, is_skip_tenant_major:0, contain_parallel_range:0, parallel_merge_info:{list_size:0, compat:1}, encoding_granularity:65536})
observer.log.20260929150837624:[2026-09-29 15:07:31.047135] INFO [STORAGE] read_truncate_info_array (ob_tablet.cpp:1379) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=98] [TRUNCATE INFO] read truncate info from mds(ret=0, ret=”OB_SUCCESS”, tablet_id={id:216186}, truncate_info_array.count()=0, read_version_range={multi_version_start:1790644956654203000, base_version:1790644956654203000, snapshot_version:1790665358083276000}, truncate_info_cache={newest_commit_version:9223372036854775807, newest_schema_version:9223372036854775807, cnt:0, replay_seq:0}, collector={exist_uncommitted_node:false, exist_new_committed_node:false})
observer.log.20260929150837624:[2026-09-29 15:07:31.047162] INFO [STORAGE] build_distinct_array (ob_mds_info_distinct_mgr.cpp:165) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=26] [TRUNCATE INFO] success to build distinct array(ret=0, ret=”OB_SUCCESS”, distinct_array_cnt=0, distinct_array=[], input_array=[])
observer.log.20260929150837624:[2026-09-29 15:07:31.047177] INFO [STORAGE.COMPACTION] init (ob_progressive_merge_helper.cpp:82) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=11] Calc progressive param(tablet_id={id:216186}, this={progressive_merge_round:1, progressive_merge_num:0, progressive_merge_step:0, data_version:17180067075, finish_cur_round:true, is_inited:true})
observer.log.20260929150837624:[2026-09-29 15:07:31.047204] INFO [STORAGE] init (ob_partition_parallel_merge_ctx.cpp:117) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=22] Succ to init parallel merge ctx(ret=0, enable_parallel_minor_merge=true, tablet_size=134217728, merge_ctx.get_dag_param()={skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, concurrent_cnt_=1)
observer.log.20260929150837624:[2026-09-29 15:07:31.047250] INFO [STORAGE] init (ob_data_store_desc.cpp:912) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=13] success to init data store desc(ret=0, ret=”OB_SUCCESS”, cg_schema=NULL, table_cg_idx=0, this={desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:true, store_sorted_var_len_numbers_dict:false, enable_raw:true, enable_dict:true, enable_int_diff:true, enable_str_diff:true, enable_hex_pack:true, enable_rle:true, enable_const:true}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}})
observer.log.20260929150837624:[2026-09-29 15:07:31.047324] INFO [STORAGE] init (ob_index_block_builder.cpp:562) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=65] init sstable index builder(ret=0, data_desc={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:true, store_sorted_var_len_numbers_dict:false, enable_raw:true, enable_dict:true, enable_int_diff:true, enable_str_diff:true, enable_hex_pack:true, enable_rle:true, enable_const:true}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, index_store_desc_={desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”selective_encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:true, enable_raw:true, enable_dict:true, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:true}, sstable_index_builder:0x7f4337b620d0, need_pre_warm:true, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}}, container_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”selective_encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:true, enable_raw:true, enable_dict:true, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:true}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}, leaf_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”selective_encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:true, enable_raw:true, enable_dict:true, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:true}, sstable_index_builder:0x7f4337b620d0, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:2095976}, &object_cleaner_=0x7f4337b68898)
observer.log.20260929150837624:[2026-09-29 15:07:31.047516] INFO [STORAGE.COMPACTION] process (ob_tablet_merge_task.cpp:894) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=155] succeed to build merge ctx(tablet_id={id:216186}, finish_flag=false, ctx={ObBasicTabletMergeCtx:{static_param:{dag_param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}, version_range:{multi_version_start:1790663844391894000, base_version:0, snapshot_version:1790665358083276000}, is_full_merge:false, concurrent_cnt:1, merge_level:1, major_sstable_status:0, merge_reason:”TENANT_MAJOR”, co_major_merge_type:”INVALID_CO_MAJOR_MERGE_TYPE”, sstable_logic_seq:0, tables_handle:{tablet_id:{id:216186}, table_count:2, [{i:0, table_key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MAJOR”, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:1790644956654203000, v:0}}}, ref:0}{i:1, table_key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MINI”, scn_range:{start_scn:{val:1790645033608866003, v:0}, end_scn:{val:1790663071265885001, v:0}}}, ref:0}]}, is_rebuild_column_store:false, is_schema_changed:false, is_tenant_major_merge:true, is_cs_replica:false, read_base_version:1790644956654203000, merge_scn:{val:0, v:0}, need_parallel_minor_merge:true, schema:0x7f4337a1a060, multi_version_column_descs_cnt:9, ls_handle:{ls_map_:0x7f44d69f6050, ls_:0x7f44be404150, mod_:21}, snapshot_info:{type:”UNDO_RETENTION”, snapshot:1790663844391894000}, is_backfill:false, tablet_schema_guard:{is_inited:false, schema:null}, tablet_transfer_seq:0, co_base_snapshot_version:0, for_unittest:false, is_cs_replica_force_full_merge:false, is_delete_insert_merge:false, is_ha_compeleted:true}, static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, parallel_merge_ctx:{concurrent_cnt:1, }, tablet_handle:{obj:0x7f44450280a0, obj_pool:0x7f44d4e35d70, allocator:null, wash_priority:0, allow_copy_and_assign:true}, info_collector:{merge_progress:0x7f4337a18060, time_guard:add_time:1790665651044425, error_location:(null):-1((null))}, merge_dag:0x7f440776dbb0}, merge_info:{is_inited:true, merge_history:{static_info:{ls_id:{id:1001}, tablet_id:{id:216186}, merge_type:”MAJOR_MERGE”, compaction_scn:1790665358083276000, is_full_merge:false, concurrent_cnt:1, merge_level:”MICRO_BLOCK_LEVEL”, exec_mode:”EXEC_MODE_LOCAL”, merge_reason:”TENANT_MAJOR”, base_major_status:”invalid_co_major_status”, co_major_merge_type:”INVALID_CO_MAJOR_MERGE_TYPE”, kept_snapshot_info:{type:”invalid_snapshot_type”, snapshot:0}, participant_table_info:{is_major_merge:false, table_cnt:0, snapshot_version:0, start_scn:0, end_scn:0}, mds_filter_info_str:””, progressive_merge_round:1, progressive_merge_num:0, is_fake:false}, running_info:{merge_start_time:1790665651047226, merge_finish_time:0, execute_time:0, dag_id:Y0-0000000000000000-0-0, start_cg_idx:0, end_cg_idx:0, io_percentage:0, parallel_merge_info:{{type:”scan_units”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”cost_time”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”use_old_macro_block_cnt”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, {type:”incremental_row_count”, info:{min:9223372036854775807, max:-9223372036854775808, sum:0, count:0}}, }}, block_info:{occupy_size:0, original_size:0, macro_block_count:0, multiplexed_macro_block_count:0, new_micro_count_in_new_macro:0, multiplexed_micro_count_in_new_macro:0, total_row_count:0, incremental_row_count:0, new_micro_info:{meta_micro_size:0, data_micro_size:0}, block_io_us:0}, diagnose_info:{dag_ret:0, retry_cnt:0, suspect_add_time:0, early_create_time:0, error_location:(null):-1((null))}}, sstable_builder:{data_store_desc:{desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:true, store_sorted_var_len_numbers_dict:false, enable_raw:true, enable_dict:true, enable_int_diff:true, enable_str_diff:true, enable_hex_pack:true, enable_rle:true, enable_const:true}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}}, index_builder:{roots_.count():0}, index_read_info:0x7f4445028500, rebuilder_ptr:NULL}}})
observer.log.20260929150837624:[2026-09-29 15:07:31.047675] INFO [COMMON] do_work (ob_tenant_dag_scheduler.cpp:348) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=157] task finish process(ret=0, start_time=1790665651046779, end_time=1790665651047674, runtime=895, *this={this:0x7f440776e170, type:15, status:2, dag:{ObIDag:{this:0x7f440776dbb0, is_inited:true, type:2, name:”MAJOR_MERGE/MEDIUM_MERGE”, id:YB42C0A80561-00065B689A143080-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790665651044425, start_time:1790665651044957, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-5341747690154589404, task_list_.get_size():3, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, compat_mode:0, min_sstable_end_scn:1790663071265885001, ctx:{sstable_version_range:{multi_version_start:1790663844391894000, base_version:0, snapshot_version:1790665358083276000}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}}}})
observer.log.20260929150837624:[2026-09-29 15:07:31.047759] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [14248][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=39] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”14248”, tenant_id=1002, group_id=0)
observer.log.20260929150837624:[2026-09-29 15:07:31.049645] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [26622][T1002_DagSchedu][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=36] schedule one task(task={this:0x7f4379ab6c30, type:1, status:2, dag:{ObIDag:{this:0x7f440776dbb0, is_inited:true, type:2, name:”MAJOR_MERGE/MEDIUM_MERGE”, id:YB42C0A80561-00065B689A143080-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790665651044425, start_time:1790665651044957, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-5341747690154589404, task_list_.get_size():2, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, compat_mode:0, min_sstable_end_scn:1790663071265885001, ctx:{sstable_version_range:{multi_version_start:1790663844391894000, base_version:0, snapshot_version:1790665358083276000}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}}}}, priority=”PRIO_COMPACTION_LOW”, total_running_task_cnt=6, running_task_cnts_=6, limits_=16, adaptive_task_limit=16, task->get_dag()->get_dag_net()=NULL)
TASK_TYPE_MACROMERGE=1(ctor ob_tablet_merge_task.cpp:1110-1111)搬宏块、写新 sstable
observer.log.20260929150837624:[2026-09-29 15:07:31.051195] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=18] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”14249”, tenant_id=1002, group_id=0)
observer.log.20260929150837624:[2026-09-29 15:07:31.051217] INFO [STORAGE.COMPACTION] init (ob_tablet_merge_task.cpp:136) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=19] success to init ObMergeParameter(ret=0, idx=0, static_param_.merge_scn={val:0, v:0}, merge_version_range={multi_version_start:1790663844391894000, base_version:1790644956654203000, snapshot_version:1790665358083276000}, merge_rowid_range={start_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, end_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, group_idx:0, border_flag:{flag:0}})
observer.log.20260929150837624:[2026-09-29 15:07:31.051328] INFO [STORAGE] init (ob_partition_merge_fuser.cpp:209) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=26] Succ to init partition fuser(ret=0, *this={ObIPartitionMergeFuser:{ObMergeFuser:{column_cnt:9, 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, have_uncommited_row:0, fast_filter_skipped:0, is_insert_filtered:0, is_delete_filtered:0, insert_version:0, delete_version:0, group_idx:0, count:9, datum_buffer:{capacity:16, datums:0x7f4337a14500, local_datums:0x7f4337a14500}, 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]}, is_inited:true}, cur_fuser:”ObIPartitionMergeFuser”}, 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, have_uncommited_row:0, fast_filter_skipped:0, is_insert_filtered:0, is_delete_filtered:0, insert_version:0, delete_version:0, group_idx:0, count:9, datum_buffer:{capacity:16, datums:0x7f4337a149a8, local_datums:0x7f4337a149a8}, datums:[col_id=0:null, col_id=1:{len: 8, flag: 0, null: 0, ptr: 0x7f4337a149f0, hex: 0000000000000000, int: 0}, col_id=2:{len: 8, flag: 0, null: 0, ptr: 0x7f4337a14a28, hex: 0000000000000000, int: 0}, col_id=3:null, col_id=4:null, col_id=5:null, col_id=6:null, col_id=7:null, col_id=8:null]}})
observer.log.20260929150837624:[2026-09-29 15:07:31.051612] INFO [STORAGE] inner_open_macro_writer (ob_partition_merger.cpp:295) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=149] success to open macro writer with pre warmer(data_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:true, store_sorted_var_len_numbers_dict:false, enable_raw:true, enable_dict:true, enable_int_diff:true, enable_str_diff:true, enable_hex_pack:true, enable_rle:true, enable_const:true}, sstable_index_builder:0x7f4337b620d0, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, macro_seq_param={seq_type:0, start:0, interval:0, step:0}, macro_writer_={block_write_ctx:{macro_block_list_.count():0, use_old_macro_block_count:0}}, ctx.get_pre_warm_param()={type:1, fixed_percentage:0}, validator=NULL)
observer.log.20260929150837624:[2026-09-29 15:07:31.053057] INFO [STORAGE.COMPACTION] init (ob_progressive_merge_helper.cpp:175) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=99] finish macro block need merge check(tablet_id={id:216186}, check_macro_need_merge_=false, rewrite_macro_cnt=0, reduce_macro_cnt=0, table_idx_=0)
observer.log.20260929150837624:[2026-09-29 15:07:31.065816] INFO [STORAGE] init_merge_iters (ob_partition_rows_merger.cpp:615) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=21] Succ to init iter(ret=0, i=1, merge_iter={ObPartitionRowMergeIter:{is_inited:true, tablet_id:{id:216186}, iter_end:false, schema_rowkey_column_cnt:1, schema_version:1790605704364936, 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}}, table_key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MINI”, scn_range:{start_scn:{val:1790645033608866003, v:0}, end_scn:{val:1790663071265885001, v:0}}}, iter_row_count:0, curr_row_:NULL, iter_row_id:-1, last_macro_block_reused:false, is_rowkey_first_row_already_output:false, is_base_iter:false, is_delete_insert_merge:false, is_ha_compeleted:true}, ignore_shadow_row:false})
observer.log.20260929150837624:[2026-09-29 15:07:31.069781] INFO [STORAGE] init_merge_iters (ob_partition_rows_merger.cpp:615) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=82] Succ to init iter(ret=0, i=0, merge_iter={ObPartitionMicroMergeIter:{ObPartitionMacroMergeIter:{is_inited:true, tablet_id:{id:216186}, iter_end:false, schema_rowkey_column_cnt:1, schema_version:1790605704364936, 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}}, table_key:{tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MAJOR”, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:1790644956654203000, v:0}}}, iter_row_count:0, curr_row_:NULL, iter_row_id:-1, last_macro_block_reused:false, is_rowkey_first_row_already_output:false, is_base_iter:true, is_delete_insert_merge:false, is_ha_compeleted:true}, macro_block_opened:false, macro_block_iter:0x7f429abe6050, curr_block_desc:{macro_block_id:{[ver=1,mode=0,seq=0][2nd=9223372036854775807]}, macro_meta:0x7f429abb4c10, range:{start_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, end_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, group_idx:0, border_flag:{flag:0}}, start_row_offset:0, row_store_type:0, schema_version:0, snapshot_version:0, max_merged_trans_version:0, row_count:0, row_count_delta:0, contain_uncommitted_row:true, is_deleted:false, is_clustered_index_tree:false}, curr_block_meta:{val:{version:2, length:0, data_checksum:0, rowkey_count:0, column_count:0, micro_block_count:0, occupy_size:0, data_size:0, data_zsize:0, original_size:0, progressive_merge_round:0, block_offset:0, block_size:0, row_count:0, row_count_delta:0, max_merged_trans_version:0, is_encrypted:false, is_deleted:false, contain_uncommitted_row:false, compressor_type:0, master_key_id:0, encrypt_id:0, encrypt_key:””, row_store_type:4, schema_version:0, snapshot_version:0, is_last_row_last_flag:false, logic_id:{data_seq:{data_seq:0, parallel_idx:0, block_type:0, merge_type:0, sstable_logic_seq:0, reserved:0, sign:0, macro_data_seq:0}, logic_version:0, tablet_id:0, column_group_idx:0, is_mds:false}, macro_id:{[ver=1,mode=0,seq=0][2nd=9223372036854775807]}, column_checksums:[], has_string_out_row:false, all_lob_in_row:false, agg_row_len:0, agg_row_buf:null, ddl_end_row_offset:-1, macro_block_bf_size:0, macro_block_bf_buf:null}, end_key:{datum_cnt:0, group_idx:0, hash:0, [{}], store_rowkey:}, nested_offset:0, nested_size:0}, is_small_sstable_iter:false}, micro_block_opened:false, need_reuse_micro_block:true, need_check_schema_version:false, curr_micro_block_:NULL, micro_row_scanner:0x7f429abb0050})
observer.log.20260929150837624:[2026-09-29 15:07:31.405714] INFO [STORAGE.BLKMGR] alloc_object (ob_block_manager.cpp:291) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=140] successfully alloc block(macro_id={[ver=1,mode=0,seq=858911][2nd=2416]})
observer.log.20260929150837624:[2026-09-29 15:07:32.111227] INFO [STORAGE] write_meta_block (ob_index_block_builder.cpp:3105) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=28] succeed to write macro meta in macro block(ret=0, macro_meta_={val:{version:2, length:219, data_checksum:229084920, rowkey_count:3, column_count:9, micro_block_count:125, occupy_size:2061909, data_size:2437052, data_zsize:2044660, original_size:7198674, progressive_merge_round:1, block_offset:2061909, block_size:3927, row_count:79521, row_count_delta:0, max_merged_trans_version:1790645561908367000, is_encrypted:false, is_deleted:false, contain_uncommitted_row:false, compressor_type:6, master_key_id:0, encrypt_id:0, encrypt_key:””, row_store_type:1, schema_version:1790605704364936, snapshot_version:1790665358083276000, is_last_row_last_flag:false, logic_id:{data_seq:{data_seq:0, parallel_idx:0, block_type:0, merge_type:0, sstable_logic_seq:0, reserved:0, sign:0, macro_data_seq:0}, logic_version:1790665358083276000, tablet_id:216186, column_group_idx:0, is_mds:false}, macro_id:{[ver=1,mode=0,seq=858911][2nd=2416]}, column_checksums:[170774759803063, 172296766243350, 189963132752913, 171044753256352, 171075412836262, 170863727192529, 170657040207638, 170808711648157, 171251930649041], has_string_out_row:false, all_lob_in_row:true, agg_row_len:0, agg_row_buf:null, ddl_end_row_offset:-1, macro_block_bf_size:0, macro_block_bf_buf:null}, end_key:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7f429abb8070, hex: 41BD020000000000, int: 179521}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7f429abb8108, hex: 6871D243595926E7, int: -1790645561908367000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7f429abb80e0, hex: 0000000000000000, int: 0}], store_rowkey:}, nested_offset:0, nested_size:0})
observer.log.20260929150837624:[2026-09-29 15:07:32.112563] INFO [STORAGE] sn_async_write (ob_storage_object_handle.cpp:301) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=90] Async write macro block(macro_id_={[ver=1,mode=0,seq=858911][2nd=2416]})
observer.log.20260929150837624:[2026-09-29 15:07:32.112593] INFO [STORAGE] flush (ob_macro_block.cpp:414) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=26] macro block writer succeed to flush macro block.(block_id={[ver=1,mode=0,seq=858911][2nd=2416]}, need_flush_macro=true, common_header_={header_size:24, version:1, magic:1001, attr:1, payload_size:2066151, payload_checksum:-1753258811}, macro_header_={fixed_header:{header_size:225, version:2, magic:1007, tablet_id:216186, logical_version:1790665358083276000, data_seq:0, column_count:9, rowkey_column_count:3, row_store_type:1, row_count:79521, occupy_size:2061909, micro_block_count:125, micro_block_data_offset:249, micro_block_data_size:2061660, idx_block_offset:2061909, idx_block_size:3927, meta_block_offset:2065836, meta_block_size:339, data_checksum:229084920, compressor_type:6, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, col_type_array_cnt:3}, column_types:0x7f442cc04140, column_orders:0x7f442cc0414c, column_checksum:0x7f442cc04158, is_normal_cg:false, column_checksum:[170774759803063, 172296766243350, 189963132752913, 171044753256352, 171075412836262, 170863727192529, 170657040207638, 170808711648157, 171251930649041], column_types:[{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:””, collation:”utf8mb4_polish_ci”, coercibility:”unknown_collation_level”}, {type:””, collation:”invalid_type”, coercibility:”unknown_collation_level”}, {type:”VARCHAR”, collation:”invalid_type”, coercibility:”IMPLICIT”}]}, contain_uncommitted_row=false, max_merged_trans_versinotallow=1790645561908367000, ¯o_handle=0x7f429abcfa38, table_cg_idx=0)
observer.log.20260929150837624:[2026-09-29 15:07:32.112990] INFO [STORAGE.BLKMGR] alloc_object (ob_block_manager.cpp:291) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=389] successfully alloc block(macro_id={[ver=1,mode=0,seq=858913][2nd=5800]})
observer.log.20260929150837624:[2026-09-29 15:07:32.234809] INFO [STORAGE] write_meta_block (ob_index_block_builder.cpp:3105) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=14] succeed to write macro meta in macro block(ret=0, macro_meta_={val:{version:2, length:218, data_checksum:2767045553, rowkey_count:3, column_count:9, micro_block_count:33, occupy_size:529719, data_size:627411, data_zsize:524982, original_size:1853536, progressive_merge_round:1, block_offset:529719, block_size:1174, row_count:20479, row_count_delta:0, max_merged_trans_version:1790645568371168000, is_encrypted:false, is_deleted:false, contain_uncommitted_row:false, compressor_type:6, master_key_id:0, encrypt_id:0, encrypt_key:””, row_store_type:1, schema_version:1790605704364936, snapshot_version:1790665358083276000, is_last_row_last_flag:false, logic_id:{data_seq:{data_seq:1, parallel_idx:0, block_type:0, merge_type:0, sstable_logic_seq:0, reserved:0, sign:0, macro_data_seq:1}, logic_version:1790665358083276000, tablet_id:216186, column_group_idx:0, is_mds:false}, macro_id:{[ver=1,mode=0,seq=858913][2nd=5800]}, column_checksums:[43974984145580, 43091330824250, 48921102547087, 44161229394080, 44249952677418, 44186456533081, 44201310281071, 43752385197661, 43753689960804], has_string_out_row:false, all_lob_in_row:true, agg_row_len:0, agg_row_buf:null, ddl_end_row_offset:-1, macro_block_bf_size:0, macro_block_bf_buf:null}, end_key:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7f429abb8070, hex: 400D030000000000, int: 200000}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7f429abb8108, hex: 00ED9BC2575926E7, int: -1790645568371168000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7f429abb80e0, hex: 0000000000000000, int: 0}], store_rowkey:}, nested_offset:0, nested_size:0})
observer.log.20260929150837624:[2026-09-29 15:07:32.235102] INFO [STORAGE] sn_async_write (ob_storage_object_handle.cpp:301) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=102] Async write macro block(macro_id_={[ver=1,mode=0,seq=858913][2nd=5800]})
observer.log.20260929150837624:[2026-09-29 15:07:32.235123] INFO [STORAGE] flush (ob_macro_block.cpp:414) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=17] macro block writer succeed to flush macro block.(block_id={[ver=1,mode=0,seq=858913][2nd=5800]}, need_flush_macro=true, common_header_={header_size:24, version:1, magic:1001, attr:1, payload_size:531206, payload_checksum:1119290144}, macro_header_={fixed_header:{header_size:225, version:2, magic:1007, tablet_id:216186, logical_version:1790665358083276000, data_seq:1, column_count:9, rowkey_column_count:3, row_store_type:1, row_count:20479, occupy_size:529719, micro_block_count:33, micro_block_data_offset:249, micro_block_data_size:529470, idx_block_offset:529719, idx_block_size:1174, meta_block_offset:530893, meta_block_size:337, data_checksum:2767045553, compressor_type:6, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, col_type_array_cnt:3}, column_types:0x7f442c404140, column_orders:0x7f442c40414c, column_checksum:0x7f442c404158, is_normal_cg:false, column_checksum:[43974984145580, 43091330824250, 48921102547087, 44161229394080, 44249952677418, 44186456533081, 44201310281071, 43752385197661, 43753689960804], column_types:[{type:”BIGINT UNSIGNED”, collation:”binary”, coercibility:”NUMERIC”}, {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:”NULL”, collation:”invalid_type”, coercibility:”EXPLICIT”}, {type:””, collation:””, coercibility:”unknown_collation_level”}, {type:””, collation:”invalid_type”, coercibility:”INVALID”}, {type:””, collation:”invalid_type”, coercibility:”unknown_collation_level”}]}, contain_uncommitted_row=false, max_merged_trans_versinotallow=1790645568371168000, ¯o_handle=0x7f429abcfa68, table_cg_idx=0)
observer.log.20260929150837624:[2026-09-29 15:07:32.236717] INFO [STORAGE] close (ob_index_block_builder.cpp:3296) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=127] succeed to close data index builder(index_tree_root_ctx={allocator_:0x7f4337b620d0, is_inited:true, task_type:0, last_key:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7f429aba47a0, hex: 400D030000000000, int: 200000}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7f429aba4838, hex: 00ED9BC2575926E7, int: -1790645568371168000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7f429aba4810, hex: 0000000000000000, int: 0}], store_rowkey:}, task_idx:0, meta_block_offset:0, meta_block_size:0, last_macro_size:531230, clustered_micro_info_array:0x7f429aba4190, absolute_offsets:null, index_tree_info:{is_meta:false, state:3, need_rewrite:false, row_count:0, micro_block_cnt:0, macro_meta_list:NULL, micro_block_desc:NULL, agg_info:NULL, block_write_ctx:NULL, next_level_rows_list:null}, meta_block_info:{is_meta:true, state:1, need_rewrite:false, row_count:2, micro_block_cnt:1, macro_meta_list:NULL, micro_block_desc:{last_rowkey:{datum_cnt:3, group_idx:0, hash:0, [idx=0:{len: 8, flag: 0, null: 0, ptr: 0x7f429aba47a0, hex: 400D030000000000, int: 200000}, idx=1:{len: 8, flag: 0, null: 0, ptr: 0x7f429aba4838, hex: 00ED9BC2575926E7, int: -1790645568371168000}, idx=2:{len: 8, flag: 0, null: 0, ptr: 0x7f429aba4810, hex: 0000000000000000, int: 0}], store_rowkey:}, header:{magic:1005, version:3, header_size:96, header_checksum:18689, column_count:4, rowkey_column_count:3, has_column_checksum:1, row_count:2, row_store_type:2, opt:2, var_column_count:1, compressor_type:1, row_offset:198, original_length:501, max_merged_trans_version:0, min_merged_trans_version:139924040468624, data_length:545, data_zlength:545, data_checksum:3779589018, column_checksums:0x7f429aba4890, single_version_rows:0, contain_uncommitted_rows:1, is_last_row_last_flag:0, is_valid():true}, buf:0x7f429aba48b0, aggregated_row:null, buf_size:545, data_size:545, row_count:2, column_count:4, max_merged_trans_version:0, macro_id:{[ver=1,mode=0,seq=0][2nd=9223372036854775807]}, logic_micro_id:{version:0, offset:0, logic_macro_id:{data_seq:{data_seq:0, parallel_idx:0, block_type:0, merge_type:0, sstable_logic_seq:0, reserved:0, sign:0, macro_data_seq:0}, logic_version:0, tablet_id:0, column_group_idx:0, is_mds:false}}, block_offset:0, block_checksum:2801589053, row_count_delta:0, contain_uncommitted_row:false, can_mark_deletion:false, has_string_out_row:false, has_lob_out_row:false, is_last_row_last_flag:false, original_size:501}, agg_info:NULL, block_write_ctx:NULL, next_level_rows_list:null}, data_blocks_info:NULL, data_write_ctx:{macro_block_list_.count():2, use_old_macro_block_count:0}})
observer.log.20260929150837624:[2026-09-29 15:07:32.236906] INFO [STORAGE.COMPACTION] merge_partition (ob_partition_merger.cpp:668) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=185] get current compaction task's mem peak(ret=0, mem_peak_total=5017648)
observer.log.20260929150837624:[2026-09-29 15:07:32.236926] INFO [STORAGE.COMPACTION] process (ob_tablet_merge_task.cpp:1256) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=17] merge macro blocks ok(idx_=0, task={this:0x7f4379ab6c30, type:1, status:2, dag:{ObIDag:{this:0x7f440776dbb0, is_inited:true, type:2, name:”MAJOR_MERGE/MEDIUM_MERGE”, id:YB42C0A80561-00065B689A143080-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790665651044425, start_time:1790665651044957, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-5341747690154589404, task_list_.get_size():2, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, compat_mode:0, min_sstable_end_scn:1790663071265885001, ctx:{sstable_version_range:{multi_version_start:1790663844391894000, base_version:0, snapshot_version:1790665358083276000}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}}}})
observer.log.20260929150837624:[2026-09-29 15:07:32.237233] INFO [STORAGE.COMPACTION] reset (ob_partition_rows_merger.cpp:929) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=48] partition merge iter row count(i=0, row_count=200000, ghost_row_count=0, table_key={tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MINI”, scn_range:{start_scn:{val:1790645033608866003, v:0}, end_scn:{val:1790663071265885001, v:0}}})
observer.log.20260929150837624:[2026-09-29 15:07:32.237321] INFO [STORAGE.COMPACTION] reset (ob_partition_rows_merger.cpp:929) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=54] partition merge iter row count(i=1, row_count=100000, ghost_row_count=0, table_key={tablet_id:{id:216186}, column_group_idx:0, slice_range:{start_slice_idx:0, end_slice_idx:0}, table_type:”MAJOR”, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:1790644956654203000, v:0}}})
observer.log.20260929150837624:[2026-09-29 15:07:32.237448] INFO [COMMON] do_work (ob_tenant_dag_scheduler.cpp:348) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=56] task finish process(ret=0, start_time=1790665651051214, end_time=1790665652237447, runtime=1186233, *this={this:0x7f4379ab6c30, type:1, status:2, dag:{ObIDag:{this:0x7f440776dbb0, is_inited:true, type:2, name:”MAJOR_MERGE/MEDIUM_MERGE”, id:YB42C0A80561-00065B689A143080-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790665651044425, start_time:1790665651044957, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-5341747690154589404, task_list_.get_size():2, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, compat_mode:0, min_sstable_end_scn:1790663071265885001, ctx:{sstable_version_range:{multi_version_start:1790663844391894000, base_version:0, snapshot_version:1790665358083276000}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}}}})
observer.log.20260929150837624:[2026-09-29 15:07:32.237553] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [14249][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=54] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”14249”, tenant_id=1002, group_id=0)
observer.log.20260929150837624:[2026-09-29 15:07:32.237693] INFO [COMMON] schedule_one_ (ob_tenant_dag_scheduler.cpp:2197) [26622][T1002_DagSchedu][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=74] schedule one task(task={this:0x7f4379ab70f0, type:16, status:2, dag:{ObIDag:{this:0x7f440776dbb0, is_inited:true, type:2, name:”MAJOR_MERGE/MEDIUM_MERGE”, id:YB42C0A80561-00065B689A143080-0-0, dag_net:NULL, dag_ret:0, dag_status:2, add_time:1790665651044425, start_time:1790665651044957, running_task_cnt:1, max_concurrent_task_cnt:9223372036854775807, indegree:0, consumer_group_id:0, hash:-5341747690154589404, task_list_.get_size():1, emergency:false, retry_strategy:0}, param:{skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, compat_mode:0, min_sstable_end_scn:1790663071265885001, ctx:{sstable_version_range:{multi_version_start:1790663844391894000, base_version:0, snapshot_version:1790665358083276000}, scn_range:{start_scn:{val:0, v:0}, end_scn:{val:0, v:0}}}}}, priority=”PRIO_COMPACTION_LOW”, total_running_task_cnt=9, running_task_cnts_=9, limits_=16, adaptive_task_limit=16, task->get_dag()->get_dag_net()=NULL)
TASK_TYPE_SSTABLE_MERGE_FINISH=16(ctor ob_tablet_merge_task.cpp:981-982) 落盘 tablet、上报
observer.log.20260929150837624:[2026-09-29 15:07:32.237923] INFO [SERVER.OMT] add_thread_to_cgroup_ (ob_cgroup_ctrl.cpp:523) [11579][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=14] add tid to cgroup success(group_path=”cgroup//tenant_1002//OBCG_DEFAULT”, tid_value=”11579”, tenant_id=1002, group_id=0)
observer.log.20260929150837624:[2026-09-29 15:07:32.237970] INFO [STORAGE.COMPACTION] create_sstable (ob_tablet_merge_ctx.cpp:70) [11579][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=40] create new merged sstable(dag_param={skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, snapshot_versinotallow=1790665358083276000, scn_range={start_scn:{val:0, v:0}, end_scn:{val:0, v:0}})
observer.log.20260929150837624:[2026-09-29 15:07:32.238039] INFO [STORAGE] init (ob_index_block_builder.cpp:562) [11579][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=26] init sstable index builder(ret=0, data_desc={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:9, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=17 {type:”BIGINT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=18 {type:”VARCHAR”, collation:”utf8mb4_general_ci”, coercibility:”INVALID”} order=0, column_id=19 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=20 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=21 {type:”INT”, collation:”binary”, coercibility:”NUMERIC”} order=0, column_id=22 {type:”DECIMAL_INT”, collation:”binary”, coercibility:”NONE”} order=0], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:true, store_sorted_var_len_numbers_dict:false, enable_raw:true, enable_dict:true, enable_int_diff:true, enable_str_diff:true, enable_hex_pack:true, enable_rle:true, enable_const:true}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:1, micro_block_size:16384}, index_store_desc_={desc:{static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”selective_encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:true, enable_raw:true, enable_dict:true, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:true}, sstable_index_builder:0x7f4438468090, need_pre_warm:true, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}}, container_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”selective_encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:true, enable_raw:true, enable_dict:true, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:true}, sstable_index_builder:null, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:16384}, leaf_store_desc_={static_desc:{ls_id:{id:1001}, tablet_id:{id:216186}, tablet_transfer_seq:0, merge_type:”MEDIUM_MERGE”, snapshot_version:1790665358083276000, end_scn:{val:1790665358083276000, v:0}, exec_mode:”EXEC_MODE_LOCAL”, is_ddl:false, compressor_type:6, macro_block_size:2097152, macro_store_size:2097152, micro_block_size_limit:2095976, schema_version:1790605704364936, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”, major_working_cluster_version:17180067075, micro_index_clustered:false, enable_macro_block_bloom_filter:false, progressive_merge_round:1, need_submit_io:true, is_delete_insert_table:false, encoding_granularity:65536, semistruct_encoding_type:{mode:0, reserved:0}}, row_store_type:”selective_encoding_row_store”, col_desc:{is_row_store:true, table_cg_idx:0, row_column_count:4, rowkey_column_count:3, schema_rowkey_col_cnt:1, full_stored_col_cnt:9, col_desc_array:[column_id=16 {type:”BIGINT UNSIGNED”, 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=21 {type:”VARCHAR”, collation:”binary”, coercibility:”INVALID”} order=-1], default_col_checksum_array_valid:true, col_default_checksum_array:[2197175160, 0, 0, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160, 2197175160], agg_meta_array:[]}, encoder_opt:{enable_bit_packing:false, store_sorted_var_len_numbers_dict:true, enable_raw:true, enable_dict:true, enable_int_diff:false, enable_str_diff:false, enable_hex_pack:false, enable_rle:false, enable_const:true}, sstable_index_builder:0x7f4438468090, need_pre_warm:false, need_build_hash_index_for_micro_block:false, data_store_type:6, micro_block_size:2095976}, &object_cleaner_=0x7f443846e858)
observer.log.20260929150837624:[2026-09-29 15:07:32.238849] INFO [STORAGE] build_single_node_tree (ob_index_block_builder.cpp:3652) [11579][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=294] successfully build single node tree, whose root is a data root(ret=0, block_desc={addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=641,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, buf:0x7f4337b9c280, height:1, is_meta_root:true})
observer.log.20260929150837624:[2026-09-29 15:07:32.238897] INFO [STORAGE] close_with_macro_seq_inner (ob_index_block_builder.cpp:1679) [11579][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=26] succeed to close sstable index builder(res={root_desc:{addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=534,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, buf:0x7f4337b9c060, height:2, is_meta_root:false}, data_root_desc:{addr:{[ver=1,mode=0,seq=0][2nd=0][3rd=0][offset=0,size=641,type=3,seq=0][trans_seq=0, sec_part=0][6th=0]}, buf:0x7f4337b9c280, height:1, is_meta_root:true}, data_block_ids_.count():2, other_block_ids_.count():0, index_blocks_cnt:0, data_blocks_cnt:2, micro_block_cnt:158, data_column_cnt:9, data_column_checksums:[214749743948643, 215388097067600, 238884235300000, 215205982650432, 215325365513680, 215050183725610, 214858350488709, 214561096845818, 215005620609845], row_count:100000, max_merged_trans_version:1790645568371168000, contain_uncommitted_row:false, occupy_size:2591628, original_size:9052210, data_checksum:228519556, use_old_macro_block_count:0, compressor_type:6, root_row_store_type:2, nested_offset:0, nested_size:2097152, table_backup_flag:{has_backup_flag:0, has_local_flag:0}, root_macro_seq:0, encrypt_id:0, master_key_id:0, encrypt_key:”data_size:16, data:00000000000000000000000000000000”}, this=0x7f4337b620d0)
observer.log.20260929150837624:[2026-09-29 15:07:32.239000] INFO [STORAGE.COMPACTION] build_update_table_store_param (ob_basic_tablet_merge_ctx.cpp:1060) [11579][T1002_MAJOR_MER][T1002][YB42C0A80561-00065B689A143080-0-0] [lt=65] success to init ObUpdateTableStoreParam(ret=0, ret=”OB_SUCCESS”, param={sstable:0x7f4337a1a420, snapshot_version:1790665358083276000, multi_version_start:1790663844391894000, storage_schema:{this:0x7f4337a1a060, storage_schema_version:5, version:0, is_use_bloomfilter:0, column_info_simplified:0, compat_mode:0, table_type:3, index_type:0, row_store_type:1, schema_version:1790605704364936, is_cs_replica_compat:0,3. 合并主要流程
阶段1 RS 发起(rootserver/freeze) ObMajorMergeScheduler 轮询 → 生成 new_global_broadcast_scn → 调度 zone → 收集进度 │ (global_broadcast_scn 广播到各 observer) ▼ 阶段2 存储层感知(storage/compaction) ObTenantFreezeInfoMgr 刷新到新版本 → schedule_merge → medium_loop_.start_merge ▼ 阶段3 逐 tablet 创建 DAG(medium loop 扫描) MediumLoopTask → schedule_all_tablets_medium → ObScheduleTabletFunc::schedule_tablet_execute → schedule_merge_dag(FLOG) → ObScheduleDagFunc::schedule_tablet_merge_dag → CREATE_DAG(ObTabletMajorMergeDag) ▼ 阶段4 DAG 进入调度器(sys task 登记/排队/派发/结束) add sys task → schedule one task → task finish process → dag finished → del sys task ▼ 阶段5 DAG 执行(tablet 合并任务链) PrepareTask(建 ctx) → MergeTask ×N(并发搬宏块) → FinishTask(落盘完成) ▼ 阶段6 进度结算 存储层 progress → last major merge finish → RS merge completed
DAG部分日志关键词:
每个 tablet 都会建 DAG,MAJOR COMPACTION 和MEDIUM COMPACTION是同一个DAG merge_type:”MEDIUM_MERGE”
grep 'schedule merge dag' observer.log.2026092915*|grep '216186'
observer.log.20260929150837624:[2026-09-29 15:07:31.044449] INFO [STORAGE.COMPACTION] schedule_merge_dag (ob_tenant_tablet_scheduler.cpp:1068) [14251][T1002_BATCH_FRE][T1002][YB42C0A80561-00065B689A142929-0-0] [lt=21] schedule merge dag(ret=0, param={skip_get_tablet:false, merge_type:”MEDIUM_MERGE”, merge_version:1790665358083276000, ls_id:{id:1001}, tablet_id:{id:216186}, exec_mode:”EXEC_MODE_LOCAL”, need_swap_tablet_flag:false, is_reserve_mode:false, schedule_transfer_seq:0}, tablet.is_row_store()=true, merge_type=6, co_major_merge_type=0, cs_replica_status=0)GV$OB_COMPACTION_PROGRESS这个不准确 通过以下视图,确认合并是否有进展 select * from GV$OB_TABLET_COMPACTION_PROGRESS ; +--------------+----------+-----------+------------+-------+-----------+----------------+-----------------------------------+--------------+-----------+----------------------+------------------------------+----------------------------+----------------------------+----------------------------+-------------+-----------+ | SVR_IP | SVR_PORT | TENANT_ID | TYPE | LS_ID | TABLET_ID | COMPACTION_SCN | TASK_ID | STATUS | DATA_SIZE | UNFINISHED_DATA_SIZE | PROGRESSIVE_COMPACTION_ROUND | CREATE_TIME | START_TIME | ESTIMATED_FINISH_TIME | START_CG_ID | END_CG_ID | +--------------+----------+-----------+------------+-------+-----------+----------------+-----------------------------------+--------------+-----------+----------------------+------------------------------+----------------------------+----------------------------+----------------------------+-------------+-----------+ | 192.168.5.95 | 2882 | 1 | MINI_MERGE | 1 | 526 | 0 | YB42C0A8055F-00065B689E0332E9-0-0 | NODE_RUNNING | 12582912 | 12582912 | 0 | 2026-09-29 16:53:39.057830 | 2026-09-29 16:53:39.850804 | 2026-09-29 16:53:56.860376 | 0 | 0 | +--------------+----------+-----------+------------+-------+-----------+----------------+-----------------------------------+--------------+-----------+----------------------+------------------------------+----------------------------+----------------------------+----------------------------+-------------+-----------+ 1 row in set (0.891 sec)
1.租户的1号日志流的leader节点的RS日志(合并调度)
2.具体执行合并的节点的observer日志、
每个租户的 1 号日志流常量:SYS_LS_ID = 1,且合并服务专用 LS 直接等于它(ob_ls_id.h):
static const int64_t SYS_LS_ID = 1; // SYS LS for every Tenant static const int64_t MAJOR_FREEZE_LS_ID = SYS_LS_ID; // LS for Major Freeze Service
合并调度"大脑"只在 1 号日志流的 leader 副本上创建并运行ObTenantMajorFreeze 的四大职责:生成 freeze info、调度合并、检查合并完成、checksum 校验,内部持有 ObMajorMergeScheduler / ObDailyMajorFreezeLauncher / ObMajorMergeInfoManager / ObMajorMergeInfoDetector(ob_tenant_major_freeze.h)。
ob_major_freeze_helper.cpp
} else if (OB_FAIL(GCTX.location_service_->get_leader_with_retry_until_timeout(
GCONF.cluster_id, tenant_id, share::SYS_LS, leader))) { // 目标:该租户 1 号日志流的 leader
LOG_WARN(”fail to get ls locaiton leader”, KR(ret), K(tenant_id));
} else if (OB_FAIL(proxy.to(leader)...by(tenant_id).major_freeze(req, resp))) { // RPC 直发该 leaderselect * from CDB_OB_LS_LOCATIONS where tenant_id =1002; +----------------------------+----------------------------+-----------+-------+--------------+----------+----------+--------+----------+--------------------------------------------------------+----------------------+--------------+--------------+---------+ | CREATE_TIME | MODIFY_TIME | TENANT_ID | LS_ID | SVR_IP | SVR_PORT | SQL_PORT | ZONE | ROLE | MEMBER_LIST | PAXOS_REPLICA_NUMBER | REPLICA_TYPE | LEARNER_LIST | REBUILD | +----------------------------+----------------------------+-----------+-------+--------------+----------+----------+--------+----------+--------------------------------------------------------+----------------------+--------------+--------------+---------+ | 2026-07-21 17:54:09.099677 | 2026-09-29 14:14:31.937882 | 1002 | 1 | 192.168.5.95 | 2882 | 2881 | zone1 | LEADER | 192.168.5.95:2882:1,192.168.5.97:2882:1787634034914669 | 2 | FULL | | FALSE | | 2026-08-25 13:00:35.076201 | 2026-09-20 02:06:07.350409 | 1002 | 1 | 192.168.5.97 | 2882 | 2881 | zone_1 | FOLLOWER | NULL | NULL | FULL | | FALSE | | 2026-07-21 17:54:57.287702 | 2026-09-29 14:14:31.565528 | 1002 | 1001 | 192.168.5.95 | 2882 | 2881 | zone1 | LEADER | 192.168.5.95:2882:1,192.168.5.97:2882:1787634036097623 | 2 | FULL | | FALSE | | 2026-08-25 13:00:36.213783 | 2026-09-29 09:19:19.486803 | 1002 | 1001 | 192.168.5.97 | 2882 | 2881 | zone_1 | FOLLOWER | NULL | NULL | FULL | | FALSE | | 2026-09-02 17:01:19.701352 | 2026-09-14 10:56:24.845944 | 1002 | 1005 | 192.168.5.95 | 2882 | 2881 | zone1 | FOLLOWER | NULL | NULL | FULL | | FALSE | | 2026-09-02 17:01:19.662520 | 2026-09-29 14:14:29.583767 | 1002 | 1005 | 192.168.5.97 | 2882 | 2881 | zone_1 | LEADER | 192.168.5.95:2882:1,192.168.5.97:2882:1 | 2 | FULL | | FALSE | +----------------------------+----------------------------+-----------+-------+--------------+----------+----------+--------+----------+--------------------------------------------------------+----------------------+--------------+--------------+---------+ 6 rows in set (0.865 sec)
如果在操作过程中遇到问题,欢迎在评论区留言交流,后续我们会持续分享更多实战运维干货,记得 关注不迷路 ,下次见~
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/70047467/viewspace-3189608/ ,如需转载,请注明出处,否则将追究法律责任。