我再执行一次这个命令 输出如下
[root@iZbp1as69ao6s2meszbhvuZ bin]# ./obcdc_tailf -f ../etc/libobcdc.conf -o
succ to open, filename=./log/libobcdc.log, fd=3, wf_fd=2
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
succ to open, filename=./log/libobcdc.log, fd=31, wf_fd=2
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
build_tsc_timestamp: use_tsc=1 scale=419
[2023-08-01 14:38:23.998392] INFO [RS] destroy (ob_root_service.cpp:945) [3925118][][T0][Y0-0000000000000000-0-0] [lt=5] [ROOTSERVICE_NOTICE] start to destroy rootservice
[2023-08-01 14:38:23.998433] INFO [RS] destroy (ob_root_service.cpp:953) [3925118][][T0][Y0-0000000000000000-0-0] [lt=35] start destroy archive_service_
[2023-08-01 14:38:23.998451] INFO [RS] destroy (ob_root_service.cpp:958) [3925118][][T0][Y0-0000000000000000-0-0] [lt=10] finish destroy archive_service_
[2023-08-01 14:38:23.998464] INFO [RS] destroy (ob_rs_reentrant_thread.cpp:115) [3925118][][T0][Y0-0000000000000000-0-0] [lt=11] rs_monitor_check : reentrant thread check unregister success(thread_name="", last_run_timestamp=0)
[2023-08-01 14:38:23.998478] INFO [RS] destroy (ob_root_service.cpp:966) [3925118][][T0][Y0-0000000000000000-0-0] [lt=14] root balance destroy
[2023-08-01 14:38:23.998484] INFO [RS] destroy (ob_root_service.cpp:973) [3925118][][T0][Y0-0000000000000000-0-0] [lt=5] empty server checker destroy
[2023-08-01 14:38:23.998490] INFO [RS] destroy (ob_root_service.cpp:980) [3925118][][T0][Y0-0000000000000000-0-0] [lt=6] rs_monitor_check : thread checker destroy
[2023-08-01 14:38:23.998499] INFO [RS] destroy (ob_root_service.cpp:986) [3925118][][T0][Y0-0000000000000000-0-0] [lt=8] schema history recycler destroy
[2023-08-01 14:38:23.998513] INFO [RS] destroy (ob_root_service.cpp:990) [3925118][][T0][Y0-0000000000000000-0-0] [lt=13] inner queue destroy
[2023-08-01 14:38:23.998518] INFO [RS] destroy (ob_root_service.cpp:992) [3925118][][T0][Y0-0000000000000000-0-0] [lt=6] inspect queue destroy
[2023-08-01 14:38:23.998537] INFO [RS] destroy (ob_root_service.cpp:994) [3925118][][T0][Y0-0000000000000000-0-0] [lt=12] ddl builder destroy
[2023-08-01 14:38:23.998549] INFO [RS] destroy (ob_rs_reentrant_thread.cpp:115) [3925118][][T0][Y0-0000000000000000-0-0] [lt=11] rs_monitor_check : reentrant thread check unregister success(thread_name="", last_run_timestamp=0)
[2023-08-01 14:38:23.998556] INFO [RS] destroy (ob_root_service.cpp:999) [3925118][][T0][Y0-0000000000000000-0-0] [lt=6] heartbeat checker destroy
[2023-08-01 14:38:23.998570] INFO [RS] destroy (ob_root_service.cpp:1003) [3925118][][T0][Y0-0000000000000000-0-0] [lt=11] event table operator destroy
[2023-08-01 14:38:23.998578] INFO [RS] destroy (ob_rs_reentrant_thread.cpp:115) [3925118][][T0][Y0-0000000000000000-0-0] [lt=8] rs_monitor_check : reentrant thread check unregister success(thread_name="", last_run_timestamp=0)
[2023-08-01 14:38:23.998585] INFO [RS] destroy (ob_root_service.cpp:1010) [3925118][][T0][Y0-0000000000000000-0-0] [lt=7] root backup task scheduler destroy
[2023-08-01 14:38:23.998597] INFO [RS] destroy (ob_root_service.cpp:1017) [3925118][][T0][Y0-0000000000000000-0-0] [lt=11] root backup mgr destroy
[2023-08-01 14:38:23.998603] INFO [RS] destroy (ob_root_service.cpp:1020) [3925118][][T0][Y0-0000000000000000-0-0] [lt=5] start destroy backup_lease_service_
[2023-08-01 14:38:23.998617] INFO [RS] destroy (ob_backup_lease_service.cpp:171) [3925118][][T0][Y0-0000000000000000-0-0] [lt=14] start destroy ObBackupLeaseService
[2023-08-01 14:38:23.998642] WDIAG [RS] stop_lease (ob_backup_lease_service.cpp:133) [3925118][][T0][Y0-0000000000000000-0-0] [lt=10][errcode=-4006] not inited(ret=-4006)
[2023-08-01 14:38:23.998655] INFO [RS] wait_backup_scheduler_stop_ (ob_backup_lease_service.cpp:274) [3925118][][T0][Y0-0000000000000000-0-0] [lt=11] [BACKUP_LEASE] start wait_backup_scheduler_stop_
[2023-08-01 14:38:23.998662] INFO [RS] wait_backup_scheduler_stop_ (ob_backup_lease_service.cpp:286) [3925118][][T0][Y0-0000000000000000-0-0] [lt=6] [BACKUP_LEASE] finish wait_backup_scheduler_stop_(cost_ts=7)
[2023-08-01 14:38:23.998677] INFO [RS] wait_mgr_stop_ (ob_backup_lease_service.cpp:291) [3925118][][T0][Y0-0000000000000000-0-0] [lt=15] [BACKUP_LEASE] start waiting backup mgr stop
[2023-08-01 14:38:23.998684] INFO [RS] wait_mgr_stop_ (ob_backup_lease_service.cpp:297) [3925118][][T0][Y0-0000000000000000-0-0] [lt=6] [BACKUP_LEASE] finish waiting backup mgr stop(cost_ts=1)
[2023-08-01 14:38:23.998700] INFO [RS] destroy (ob_backup_lease_service.cpp:180) [3925118][][T0][Y0-0000000000000000-0-0] [lt=15] finish destroy ObBackupLeaseService(cost_ts=84)
[2023-08-01 14:38:23.998707] INFO [RS] destroy (ob_root_service.cpp:1022) [3925118][][T0][Y0-0000000000000000-0-0] [lt=6] finish destroy backup_lease_service_
[2023-08-01 14:38:23.998734] WDIAG [RS] destroy (ob_dbms_job_master.cpp:94) [3925118][][T0][Y0-0000000000000000-0-0] [lt=4][errcode=-4006] scheduler task not inited(ret=-4006, inited_=false)
[2023-08-01 14:38:23.998748] INFO [RS] destroy (ob_root_service.cpp:1025) [3925118][][T0][Y0-0000000000000000-0-0] [lt=13] ObDBMSJobMaster destory
[2023-08-01 14:38:23.998754] INFO [RS] destroy (ob_rs_reentrant_thread.cpp:115) [3925118][][T0][Y0-0000000000000000-0-0] [lt=5] rs_monitor_check : reentrant thread check unregister success(thread_name="", last_run_timestamp=0)
[2023-08-01 14:38:23.998762] INFO [RS] destroy (ob_root_service.cpp:1031) [3925118][][T0][Y0-0000000000000000-0-0] [lt=7] disaster recovery task mgr destroy
[2023-08-01 14:38:23.998781] WDIAG [RS] destroy (ob_dbms_sched_job_master.cpp:95) [3925118][][T0][Y0-0000000000000000-0-0] [lt=11][errcode=-4006] scheduler task not inited(ret=-4006, inited_=false)
[2023-08-01 14:38:23.998791] INFO [RS] destroy (ob_root_service.cpp:1035) [3925118][][T0][Y0-0000000000000000-0-0] [lt=9] ObDBMSSchedJobMaster destory
[2023-08-01 14:38:23.998808] INFO [RS] destroy (ob_root_service.cpp:1037) [3925118][][T0][Y0-0000000000000000-0-0] [lt=10] global ctx timer destroyed
[2023-08-01 14:38:23.998818] INFO [RS] destroy (ob_root_service.cpp:1046) [3925118][][T0][Y0-0000000000000000-0-0] [lt=10] [ROOTSERVICE_NOTICE] destroy rootservice end(ret=0, ret="OB_SUCCESS")
[2023-08-01 14:38:24.000465] INFO [RS] stop (ob_disaster_recovery_task_table_updater.cpp:190) [3925118][][T0][Y0-0000000000000000-0-0] [lt=7] stop ObDRTaskTableUpdater success
[2023-08-01 14:38:24.000478] INFO [RS] wait (ob_disaster_recovery_task_table_updater.cpp:196) [3925118][][T0][Y0-0000000000000000-0-0] [lt=12] wait ObDRTaskTableUpdater
抓取libobcdc.log中的ERROR如下:
[root@iZbp1as69ao6s2meszbhvuZ log]# grep ERROR libobcdc.log
[2023-08-01 14:37:58.834405] ERROR issue_dba_error (ob_log.cpp:1792) [3925618][][T0][Y0-0000000000000000-0-0] [lt=17][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=-4016, file="ob_log_binlog_record.cpp", line_no=55, info="DRCMessageFactory::createBinlogRecord fails")
[2023-08-01 14:37:58.834731] ERROR issue_dba_error (ob_log.cpp:1792) [3925618][][T0][Y0-0000000000000000-0-0] [lt=287][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=0, file="ob_log_binlog_record.cpp", line_no=152, info="IBinlogRecord has not been created")
[2023-08-01 14:37:58.834782] ERROR issue_dba_error (ob_log.cpp:1792) [3925618][][T0][Y0-0000000000000000-0-0] [lt=25][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=-4006, file="ob_log_committer.cpp", line_no=686, info="init HEARTBEAT binlog record fail")
[2023-08-01 14:37:58.834847] ERROR issue_dba_error (ob_log.cpp:1792) [3925618][][T0][Y0-0000000000000000-0-0] [lt=56][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=-4006, file="ob_log_committer.cpp", line_no=747, info="dispatch_heartbeat_binlog_record_ fail")
[2023-08-01 14:37:58.834928] INFO [TLOG] handle_error (ob_log_instance.cpp:1809) [3925618][][T0][Y0-0000000000000000-0-0] [lt=4] HANDLE_ERROR: err_cb=0x55d7c1d858b0, errno=-4006, errmsg="committer HEARTBEAT thread exits, err=-4006"
[2023-08-01 14:37:58.834932] INFO [TLOG] handle_error (ob_log_instance.cpp:1817) [3925618][][T0][Y0-0000000000000000-0-0] [lt=3] ERROR_CALLBACK begin(err_cb_=0x55d7c1d858b0)
[2023-08-01 14:37:58.834991] INFO [TLOG] handle_error (ob_log_instance.cpp:1819) [3925618][][T0][Y0-0000000000000000-0-0] [lt=4] ERROR_CALLBACK end(err_cb_=0x55d7c1d858b0)
[2023-08-01 14:37:59.570541] ERROR issue_dba_error (ob_log.cpp:1792) [3925659][][T0][YE47EAC100096-0000000000C00001-0-0] [lt=3][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=0, file="ob_log_batch_buffer.cpp", line_no=198, info="try_freeze failed")
[2023-08-01 14:38:23.997878] ERROR issue_dba_error (ob_log.cpp:1792) [3925118][][T0][Y0-0000000000000000-0-0] [lt=20][errcode=-4388] Unexpected internal error happen, please checkout the internal errcode(errcode=-4000, file="ob_fifo_allocator.cpp", line_no=200, info="current_using_ is still used now")
查询observer.log
依旧为空,具体信息如下:
[root@iZbp1as69ao6s2meszbhvuZ log]# cd /root/oceanbase-ce/log/
[root@iZbp1as69ao6s2meszbhvuZ log]# ls
4016.txt election.log.wf observer.log.wf rootservice.log.wf
election.log observer.log rootservice.log trace.log
election.log.20230729005914921 observer.log.20230801133110007 rootservice.log.20230801014042778 trace.log.20230731220000357
election.log.20230730040450377 observer.log.20230801135140355 rootservice.log.20230801055500747
election.log.20230731070937876 observer.log.20230801141208155 rootservice.log.20230801101517908
election.log.20230801101416128 observer.log.20230801143237214 rootservice.log.20230801143528453
[root@iZbp1as69ao6s2meszbhvuZ log]# grep "-4006" rootservice.log*
[root@iZbp1as69ao6s2meszbhvuZ log]# grep "-4016" rootservice.log*
[root@iZbp1as69ao6s2meszbhvuZ log]# grep "-4388" rootservice.log*
[root@iZbp1as69ao6s2meszbhvuZ log]# grep "-4000" rootservice.log*
[root@iZbp1as69ao6s2meszbhvuZ log]#