2024-11-07T16:07:03.789 INFO [141705] [F000000000000000] [cmd/handle.go:148] current obshell version is 4.2.4.1-12024101410 2024-11-07T16:07:03.790 INFO [141705] [F000000000000000] [cmd/handle.go:171] check backup binary /root/JX_OBD_DEV/oceanbase/etc/obshell 2024-11-07T16:07:03.858 INFO [141705] [F000000000000000] [cmd/handle.go:182] backup binary version is 4.2.4.1-12024101410 2024-11-07T16:07:03.920 INFO [141705] [F000000000000000] [server/init.go:81] initialize logger 2024-11-07T16:07:03.922 INFO [141705] [F000000000000000] [global/variable.go:70] homePath is /root/JX_OBD_DEV/oceanbase 2024-11-07T16:07:03.922 INFO [141705] [F000000000000000] [global/variable.go:63] architecture is x86_64 2024-11-07T16:07:03.922 INFO [141705] [F000000000000000] [server/init.go:265] Check if obshell is in upgrade mode. 2024-11-07T16:07:03.922 INFO [141705] [F000000000000000] [server/init.go:88] initialize sqlite 2024-11-07T16:07:03.923 INFO [141705] [F000000000000000] [sqlite/builder.go:67] open sqlite succeed 2024-11-07T16:07:04.042 INFO [141705] [F000000000000000] [server/init.go:142] initialize agent 2024-11-07T16:07:04.043 INFO [141705] [F000000000000000] [server/init.go:146] meta from sqlite is :0 2024-11-07T16:07:04.043 INFO [141705] [F000000000000000] [ob/etc.go:57] load ob config from config file 2024-11-07T16:07:04.043 INFO [141705] [F000000000000000] [ob/etc.go:83] get conf from ob conf file /root/JX_OBD_DEV/oceanbase/etc/observer.config.bin 2024-11-07T16:07:04.043 INFO [141705] [F000000000000000] [ob/etc.go:118] get conf from ob conf file, ip: 192.168.18.130, zone: zone1, mysqlPort: 2881, rpcPort: 2882 2024-11-07T16:07:04.047 INFO [141705] [F000000000000000] [server/init.go:197] check agent info 2024-11-07T16:07:04.051 INFO [141705] [F000000000000000] [server/init.go:167] initialize agent status 2024-11-07T16:07:04.055 INFO [141705] [F000000000000000] [server/init.go:172] update base info 2024-11-07T16:07:04.059 INFO [141705] [F000000000000000] [server/init.go:229] init server 2024-11-07T16:07:04.059 INFO [141705] [F000000000000000] [server/init.go:236] server config is {192.168.18.130 2886 192.168.18.130:2886 /root/JX_OBD_DEV/oceanbase/run false} 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CreateSubStartDagTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckSubStartDagReadyTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RetrySubStartDagTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitSubStartDagFinishTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StartZoneTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:PassSubStartDagTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckDagStageTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckObserverForStartTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AlterStartServerTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitPassOperatorTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:GetConnForEStartTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CreateSubStopDagTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckSubStopDagReadyTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RetrySubStopDagTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitSubStopDagFinishTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:PassSubStopDagTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckDagStageTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ExecStopSqlTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitPassOperatorTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:MinorFreezeTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:UpdateOBClusterConfigTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:UpdateOBServerConfigTask 2024-11-07T16:07:04.062 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:IntegrateObConfigTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:DeployTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:DestroyTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StartObserverTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StopObserverTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ClusterBoostrapTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:MigrateTableTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ModifyPwdTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:MigrateDataTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ConvertFollowerToClusterAgentTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentSyncTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ConvertMasterToClusterAgentTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentBeScalingOutTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitDeployRetryTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitStartRetryTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WatchDagTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ScalingAgentUpdateBinaryTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SyncFromOB 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:IntegrateSingleObConfigTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CreateLocalScaleOutDagTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitScalingReadyTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitRemoteDeployTaskFinish 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitRemoteStartTaskFinish 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:PrevCheckTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AddNewZoneTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StartNewZoneTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AddServerTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AddAgentTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:FinishTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CreateUpgradeDirTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:GetAllRequiredPkgsTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckAllRequiredPkgsTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:InstallAllRequiredPkgsTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RemoveUpgradeCheckDirTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:BackupAgentForUpgradeTask 2024-11-07T16:07:04.063 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:InstallNewAgentTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RestartAgentTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:UpgradePostTableMaintainTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:UpgradeToClusterAgentVersionTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:TakeOverAgentUpdateBinaryTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckEnvTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:BackupParametersTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ExecScriptTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StopZoneTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ReinstallAndRestartObTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StartOneZoneTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RestoreParametersTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SetBackupConfigTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckBackupConfigTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CheckDestTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:OpenArchiveLogTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StartBackupTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitBackupTaskFinish 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:PreRestoreCheckTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:StartRestoreTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitRestoreFinshTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ActiveTenantTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:UpgradeTenantTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CancelRestoreTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:DropResourcePoolTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentJoinSelfTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentJoinMasterTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentBeFollowerTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentToSingleTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RemoveFollowerAgentTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentRemoveFollowerRPCTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AgentRemoveMasterTask 2024-11-07T16:07:04.064 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SendFollowerRemoveSelfRPCTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:CreateTenantTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ModifyPrimaryZoneTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SetRootPwdTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SetTenantTimeZoneTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SetTenantParamterTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:OptimizeTenantTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:DropTenantTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:RecycleTenantTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:BatchCreateResourcePoolTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AlterLocalityTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:SplitResourcePoolTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:BatchDropResourcePoolTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AlterResourcePoolUnitNumTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:AlterResourcePoolUnitConfTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ModifyTenantWhitelistTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:WaitForPurgeFinishedTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:ImportScriptForTenantTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [task/task.go:540] Register Task:DropResourcePoolTask 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [engine/enter.go:37] local task engine starting ... 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [engine/enter.go:46] local task engine started 2024-11-07T16:07:04.065 INFO [141705] [F000000000000000] [web/server.go:123] listen unix socket on /root/JX_OBD_DEV/oceanbase/run/obshell.sock 2024-11-07T16:07:04.066 INFO [141705] [F000000000000000] [server/run.go:73] restore secure info 2024-11-07T16:07:04.066 INFO [141705] [F000000000000000] [secure/crypto.go:72] restore private key from sqlite successed 2024-11-07T16:07:04.066 INFO [141705] [F000000000000000] [server/run.go:83] restore secure info successed, check password in sqlite 2024-11-07T16:07:04.067 INFO [141705] [F000000000000000] [secure/crypto.go:122] get password from environment variable 2024-11-07T16:07:04.067 INFO [141705] [F000000000000000] [server/run.go:91] check password in sqlite successed 2024-11-07T16:07:04.067 INFO [141705] [F000000000000000] [server/run.go:199] take over flag is 1 2024-11-07T16:07:04.067 INFO [141705] [F000000000000000] [oceanbase/loader.go:66] initialzie oceanbase instance without db name ... 2024-11-07T16:07:04.067 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:04.068 INFO [141705] [LS00000000000000] [runtime/asm_amd64.s:1598] scheduler starting 2024-11-07T16:07:04.068 INFO [141705] [F000000000000000] [secure/crypto.go:132] current password is temporary, will dump it into sqlite 2024-11-07T16:07:04.088 INFO [141705] [F000000000000000] [oceanbase/loader.go:173] current config is nil, update db instance 2024-11-07T16:07:04.088 INFO [141705] [F000000000000000] [oceanbase/loader.go:76] init oceanbase instance without db name success 2024-11-07T16:07:04.088 INFO [141705] [F000000000000000] [oceanbase/loader.go:92] initialzie oceanbase instance ... 2024-11-07T16:07:04.088 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:04.093 INFO [141705] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error="Error 1049 (42000): Unknown database 'ocs'" 2024-11-07T16:07:05.072 INFO [141705] [F000000000000000] [secure/crypto.go:138] dump temporary password into sqlite successed 2024-11-07T16:07:05.075 INFO [141705] [F000000000000000] [server/takeover.go:42] start to take over or rebuild 2024-11-07T16:07:05.094 INFO [141705] [F000000000000000] [oceanbase/loader.go:105] loadOceanbaseUntilSucc last error is initialize oceanbase failed: Error 1049 (42000): Unknown database 'ocs' 2024-11-07T16:07:05.094 INFO [141705] [F000000000000000] [oceanbase/loader.go:111] init oceanbase instance 2024-11-07T16:07:06.095 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:06.099 INFO [141705] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error="Error 1049 (42000): Unknown database 'ocs'" 2024-11-07T16:07:07.100 INFO [141705] [F000000000000000] [oceanbase/loader.go:105] loadOceanbaseUntilSucc last error is initialize oceanbase failed: Error 1049 (42000): Unknown database 'ocs' 2024-11-07T16:07:07.100 INFO [141705] [F000000000000000] [oceanbase/loader.go:111] init oceanbase instance 2024-11-07T16:07:08.100 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:08.105 INFO [141705] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields: error="Error 1049 (42000): Unknown database 'ocs'" 2024-11-07T16:07:09.107 INFO [141705] [F000000000000000] [oceanbase/loader.go:105] loadOceanbaseUntilSucc last error is initialize oceanbase failed: Error 1049 (42000): Unknown database 'ocs' 2024-11-07T16:07:09.107 INFO [141705] [F000000000000000] [oceanbase/loader.go:111] init oceanbase instance 2024-11-07T16:07:10.108 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:10.112 INFO [141705] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields: error="Error 1049 (42000): Unknown database 'ocs'" 2024-11-07T16:07:10.355 WARN [141705] [F000000000000000] [server/takeover.go:34] get ob connection failed fields:, error="oceanbase db is useless" 2024-11-07T16:07:11.114 INFO [141705] [F000000000000000] [oceanbase/loader.go:105] loadOceanbaseUntilSucc last error is initialize oceanbase failed: Error 1049 (42000): Unknown database 'ocs' 2024-11-07T16:07:11.114 INFO [141705] [F000000000000000] [oceanbase/loader.go:111] init oceanbase instance 2024-11-07T16:07:11.373 WARN [141705] [F000000000000000] [server/takeover.go:34] get ob connection failed fields: error="oceanbase db is useless" 2024-11-07T16:07:12.114 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:12.118 INFO [141705] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error="Error 1049 (42000): Unknown database 'ocs'" 2024-11-07T16:07:12.389 WARN [141705] [F000000000000000] [server/takeover.go:34] get ob connection failed fields:, error="oceanbase db is useless" 2024-11-07T16:07:13.120 INFO [141705] [F000000000000000] [oceanbase/loader.go:105] loadOceanbaseUntilSucc last error is initialize oceanbase failed: Error 1049 (42000): Unknown database 'ocs' 2024-11-07T16:07:13.120 INFO [141705] [F000000000000000] [oceanbase/loader.go:111] init oceanbase instance 2024-11-07T16:07:13.406 WARN [141705] [F000000000000000] [server/takeover.go:34] get ob connection failed fields:, error="oceanbase db is useless" 2024-11-07T16:07:14.122 INFO [141705] [F000000000000000] [oceanbase/builder.go:74] try connect oceanbase: 1 2024-11-07T16:07:14.125 INFO [141705] [F000000000000000] [oceanbase/loader.go:163] open oceanbase failed fields:, error="Error 1049 (42000): Unknown database 'ocs'" 2024-11-07T16:07:14.559 INFO [141705] [F000000000000000] [oceanbase/builder.go:118] create database ocs failed fields:, error="Error 4638 (HY000): The RootServer is not the master" 2024-11-07T16:07:14.559 ERROR [141705] [F000000000000000] [runtime/asm_amd64.s:1598] take over or rebuild failed fields:, error="Error 4638 (HY000): The RootServer is not the master" 2024-11-07T16:07:14.559 ERROR [141705] [F000000000000000] [process/exit.go:32] exit with code 22: take over or rebuild failed: Error 4638 (HY000): The RootServer is not the master