__all_ls will delete anymore and add ls_event to history

This commit is contained in:
maosy
2023-07-20 04:48:12 +00:00
committed by ob-robot
parent 1e30cd9247
commit 3e4a57c15d
20 changed files with 1154 additions and 194 deletions

View File

@ -588,9 +588,7 @@ int ObPrimaryStandbyService::switch_to_standby_prepare_ls_status_(
ObAllTenantInfo &new_tenant_info)
{
int ret = OB_SUCCESS;
ObMySQLTransaction trans;
ObLSAttr sys_ls_attr;
share::ObLSAttrOperator ls_operator(tenant_id, sql_proxy_);
share::schema::ObSchemaGetterGuard schema_guard;
const share::schema::ObTenantSchema *tenant_schema = NULL;
int64_t new_switchover_epoch = OB_INVALID_VERSION;