【 使用环境 】测试环境
【 OB】
【 使用版本 】oceanbase-ce-3.1.4
【问题描述】集群环境下启动observer失败
【复现路径】
[admin@jsvm-245 ~]$ cd ~/oceanbase && bin/observer -i eth0 -p 2881 -P 2882 -z zone3 -d ~/oceanbase/store/obdemo -r ‘10.10.77.242:2882:2881;10.10.77.243:2882:2881;10.10.77.245:2882:2881’ -c 20210912 -n obdemo -o “memory_limit=8G,cache_wash_threshold=1G,__min_full_resource_pool_memory=268435456,system_memory=2G,memory_chunk_cache_size=128M,cpu_count=8,net_thread_count=4,datafile_size=10G,stack_size=1536K,config_additional_dir=/dbdata/data/obdemo/etc3;/dbdata/redo/obdemo/etc2” -d ~/oceanbase/store/obdemo
bin/observer -i eth0 -p 2881 -P 2882 -z zone3 -d /home/admin/oceanbase/store/obdemo -r 10.10.77.242:2882:2881;10.10.77.243:2882:2881;10.10.77.245:2882:2881 -c 20210912 -n obdemo -o memory_limit=8G,cache_wash_threshold=1G,__min_full_resource_pool_memory=268435456,system_memory=2G,memory_chunk_cache_size=128M,cpu_count=8,net_thread_count=4,datafile_size=10G,stack_size=1536K,config_additional_dir=/dbdata/data/obdemo/etc3;/dbdata/redo/obdemo/etc2 -d /home/admin/oceanbase/store/obdemo
devname: eth0
mysql port: 2881
rpc port: 2882
zone: zone3
data_dir: /home/admin/oceanbase/store/obdemo
rs list: 10.10.77.242:2882:2881;10.10.77.243:2882:2881;10.10.77.245:2882:2881
cluster id: 20210912
appname: obdemo
optstr: memory_limit=8G,cache_wash_threshold=1G,__min_full_resource_pool_memory=268435456,system_memory=2G,memory_chunk_cache_size=128M,cpu_count=8,net_thread_count=4,datafile_size=10G,stack_size=1536K,config_additional_dir=/dbdata/data/obdemo/etc3;/dbdata/redo/obdemo/etc2
data_dir: /home/admin/oceanbase/store/obdemo
【问题现象及影响】
[admin@jsvm-245 log]$ more observer.log |grep ERROR
[2022-09-01 17:12:54.753380] INFO [SHARE.SCHEMA] ob_schema_struct.cpp:168 [11406][0][Y0-0000000000000000] [lt=4] [dc=0] set tenant space table name(key=15656453541099564691, table={database_id:6, name_case_mode:2, table_name:“ALL_VIRTUAL_ERROR_AGENT”})
[2022-09-01 17:12:54.755225] INFO [SHARE.SCHEMA] ob_schema_struct.cpp:168 [11406][0][Y0-0000000000000000] [lt=6] [dc=0] set tenant space table name(key=2868000062764514379, table={database_id:6, name_case_mode:2, table_name:“ALL_VIRTUAL_TENANT_ERROR_REAL_AGENT”})
[2022-09-01 17:12:54.757573] INFO [SHARE.SCHEMA] ob_schema_struct.cpp:168 [11406][0][Y0-0000000000000000] [lt=3] [dc=0] set tenant space table name(key=5043483467960944309, table={database_id:6, name_case_mode:2, table_name:“ALL_ERRORS”})
[2022-09-01 17:12:54.757578] INFO [SHARE.SCHEMA] ob_schema_struct.cpp:168 [11406][0][Y0-0000000000000000] [lt=2] [dc=0] set tenant space table name(key=8129345318515628085, table={database_id:6, name_case_mode:2, table_name:“DBA_ERRORS”})
[2022-09-01 17:12:54.757584] INFO [SHARE.SCHEMA] ob_schema_struct.cpp:168 [11406][0][Y0-0000000000000000] [lt=2] [dc=0] set tenant space table name(key=4571968748190436015, table={database_id:6, name_case_mode:2, table_name:“USER_ERRORS”})
[2022-09-01 17:12:55.155289] ERROR [SERVER] init_storage (ob_server.cpp:1712) [11406][0][Y0-0000000000000000] [lt=5] [dc=0] init partition service fail(ret=-4009, storage_env_={data_dir:"/home/admin/oceanbase/store/obdemo", default_block_size:2097152, disk_avail_space:10737418240, datafile_disk_percentage:90, redundancy_level:1, log_spec:{log_dir:"/home/admin/oceanbase/store/obdemo/slog", max_log_size:268435456, log_sync_type:0}, clog_dir:"/home/admin/oceanbase/store/obdemo/clog", ilog_dir:"/home/admin/oceanbase/store/obdemo/ilog", clog_shm_path:"/home/admin/oceanbase/store/obdemo/clog_shm", ilog_shm_path:"/home/admin/oceanbase/store/obdemo/ilog_shm", index_cache_priority:10, user_block_cache_priority:1, user_row_cache_priority:1, fuse_row_cache_priority:1, bf_cache_priority:1, clog_cache_priority:1, index_clog_cache_priority:1, bf_cache_miss_count_threshold:100, ethernet_speed:131072000}) BACKTRACE:0x9a98e9e 0x986d141 0x22e245f 0x22e20ab 0x22e1e72 0x804200b 0x93adcce 0x93a3307 0x22a3dc5 0x2b52ffb75555 0x22a2aa9
[2022-09-01 17:12:55.703071] ERROR [SERVER] main (main.cpp:494) [11406][0][Y0-0000000000000000] [lt=7] [dc=0] observer init fail(ret=-4009) BACKTRACE:0x9a98e9e 0x986d141 0x22a7774 0x22a725b 0x22a6fc1 0x22a5c58 0x22a40ca 0x2b52ffb75555 0x22a2aa9
【附件】