[CP] switchover to standby timeout

This commit is contained in:
obdev
2024-02-07 05:23:04 +00:00
committed by ob-robot
parent 7f8e302068
commit b653e5dca5
6 changed files with 84 additions and 69 deletions

View File

@ -21,10 +21,6 @@ namespace common
class ObTimeoutCtx;
class ObISQLClient;
}
namespace storage
{
class ObLS;
}
namespace share
{
@ -122,11 +118,6 @@ public:
const uint64_t tenant_id,
const ObSqlString &sql,
SCN &ora_rowscn);
// wait the given ls's end_scn be larger than or equal to sys_ls_target_scn
// @params[in]: sys_ls_target_scn
// @params[in]: ls
static int wait_user_ls_sync_scn_locally(const share::SCN &sys_ls_target_scn, storage::ObLS &ls);
static bool is_tenant_enable_rebalance(const uint64_t tenant_id);
static bool is_tenant_enable_transfer(const uint64_t tenant_id);
};