switch schema 补充日志

This commit is contained in:
obdev
2024-07-30 08:36:47 +00:00
committed by ob-robot
parent ca2233b41a
commit d81d267627
2 changed files with 3 additions and 3 deletions

View File

@ -1303,7 +1303,7 @@ int ObService::switch_schema(
obrpc::ObSwitchSchemaResult &result) obrpc::ObSwitchSchemaResult &result)
{ {
int ret = OB_SUCCESS; int ret = OB_SUCCESS;
LOG_INFO("start to switch schema", K(arg)); FLOG_INFO("start to switch schema", K(arg));
const ObRefreshSchemaInfo &schema_info = arg.schema_info_; const ObRefreshSchemaInfo &schema_info = arg.schema_info_;
const int64_t schema_version = schema_info.get_schema_version(); const int64_t schema_version = schema_info.get_schema_version();
const uint64_t tenant_id = schema_info.get_tenant_id(); const uint64_t tenant_id = schema_info.get_tenant_id();
@ -1373,7 +1373,7 @@ int ObService::switch_schema(
} }
} }
} }
LOG_INFO("switch schema", K(ret), K(schema_info)); FLOG_INFO("switch schema", KR(ret), K(schema_info));
//SERVER_EVENT_ADD("schema", "switch_schema", K(ret), K(schema_info)); //SERVER_EVENT_ADD("schema", "switch_schema", K(ret), K(schema_info));
result.set_ret(ret); result.set_ret(ret);
return ret; return ret;

View File

@ -30183,7 +30183,7 @@ int ObDDLService::notify_refresh_schema(const ObAddrIArray &addrs)
} }
} }
LOG_INFO("notify switch schema finished", KR(ret), LOG_INFO("notify switch schema finished", KR(ret),
K(schema_version), K(schema_info), K(arg), K(addrs)); K(schema_version), K(schema_info), K(arg), K(addrs), K(server_list));
return ret; return ret;
} }