[CP] Avoid insert user recover job repeatedly when switch RS
This commit is contained in:
@ -35,7 +35,9 @@ public:
|
||||
// please think carefully about circular dependencies before adding inner table into the white list
|
||||
static bool in_inner_table_lock_white_list(const uint64_t inner_table_id)
|
||||
{
|
||||
return share::OB_ALL_BALANCE_JOB_TID == inner_table_id;
|
||||
bool b_ret = share::OB_ALL_BALANCE_JOB_TID == inner_table_id
|
||||
|| share::OB_ALL_RECOVER_TABLE_JOB_TID == inner_table_id;
|
||||
return b_ret;
|
||||
}
|
||||
/*
|
||||
* lock inner table in trans with internal_sql_execute_timeout
|
||||
|
||||
Reference in New Issue
Block a user